Thumbnail creation: no white background for GIFs

More
12 years 1 month ago #29662 by Rooney
Ok, but why do I still have a grey background even if the thumbs are now having a white background?

Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
12 years 1 month ago #29673 by ggppdk
If output is gif background will match the closest color, if it is jpg/png there will be no problem if quality is set to a high value


-- 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...

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

More
12 years 4 weeks ago #30121 by Rooney
Hi, ok. I will convert all my gifs in pngs. Is there an easy and fast way to in the database to replace all .gif with .png? I don't want to open all 170 articles to just change the logo. Repacing something in the database is much faster!

Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
12 years 4 weeks ago #30128 by ggppdk
Code:
update jos_flexicontent_fields_item_relations SET value=REPLACE(value, '.gif', '.png') WHERE field_id=43

In the above replace
-- jos_ with your Joomla DB prefix and
-- 43 with the field id of your image field

better back-up first and then test on a copied table too


-- 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...

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

More
12 years 4 weeks ago #30136 by Rooney

ggppdk wrote:

Code:
update jos_flexicontent_fields_item_relations SET value=REPLACE(value, '.gif', '.png') WHERE field_id=43

In the above replace
-- jos_ with your Joomla DB prefix and
-- 43 with the field id of your image field

better back-up first and then test on a copied table too


Thanks!!! Worked perfectly!
Rooney

Joomla! 3.9.24 and FC 3.3.9

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.778 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