[TODO: set image type on v3.0.9] PNG preview Thumbnail in backend not properly displayed for image field in item form

More
8 years 5 months ago - 8 years 5 months ago #57605 by grabit
Hi,

When I use a transparent PNG as an image, the backend thumbnail is displayed on a black background and with a thick outline.

Backend here under



Frontend here under


An Apple a days keeps the doctor away
Attachments:
Last edit: 8 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago - 8 years 5 months ago #57628 by Rooney
Are you sure you saved the image as png and not gif? Also, if you save it you should use transparent background as option. It seems that you chose only one color to be transparent.
Rooney

Joomla! 3.9.24 and FC 3.3.9
Last edit: 8 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago - 8 years 5 months ago #57635 by grabit
Hi Rooney,

It is a true png 24 bits created on photoshop. No gif not 1 color transparency...

Any ideas?

An Apple a days keeps the doctor away
Last edit: 8 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago - 8 years 5 months ago #57636 by Rooney
I had a look at the thumbnails generated by FlexiContent in my installation. If the original image has a transparent background the thumbnails have it also.
Perhaps Georgios can help.
Rooney

Joomla! 3.9.24 and FC 3.3.9
Last edit: 8 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago - 8 years 5 months ago #57645 by ggppdk
Hello

the preview code uses phpThumb for thumbnail creation
and is not setting image type
- if type is not set then the default is JPEG

will fix by setting image type, here is a new issue for v3.0.9 (or maybe for v3.0.10)
github.com/FLEXIcontent/flexicontent-cck/issues/307


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 5 months ago by ggppdk.
The following user(s) said Thank You: grabit

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #57653 by grabit
You're right the phpThumb setting is wrong but just for the backend thumbnail because the other are OK.

Thanks

An Apple a days keeps the doctor away

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.322 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline