coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: AzorMachine on September 01, 2011, 03:07:18 PM

Title: Black background of Thumbnails
Post by: AzorMachine on September 01, 2011, 03:07:18 PM
Not sure if this topic should be here, but how the forum lacks of a board for doubts and questions, here it goes..

When thumbnails of transparent png images are shown in my gallery, they have an ugly black background. Is there a way to change the color generated to the background of these "transparent" thumbnails?
Title: Re: Black background of Thumbnails
Post by: Αndré on September 01, 2011, 03:13:42 PM
Moved from "Feature requests" board.

Please post a link to your gallery and a link to an image which has such a thumbnail.
Title: Re: Black background of Thumbnails
Post by: AzorMachine on September 02, 2011, 03:29:45 PM
http://www.reinorpg.com/resources/

Just take a look at the Last Images on the bottom of the page.
Title: Re: Black background of Thumbnails
Post by: Αndré on September 02, 2011, 03:58:04 PM
Quote<!--Coppermine Photo Gallery 1.4.19 (stable)-->

Unfortunately there's no support for cpg1.4.x since a couple of months. The good thing: the alpha channel will be preserved in cpg1.5.x, so all you have to do is to upgrade your gallery to the latest stable release (currently cpg1.5.16).
Title: Re: Black background of Thumbnails
Post by: AzorMachine on September 02, 2011, 04:19:48 PM
Any risks about upgrading? Because it's a production website, and we can't run any loss of material.
And, if upgrading, there is a simple way to change the color the alpha channel gets, when the image becomes a thumbnail?
Title: Re: Black background of Thumbnails
Post by: Αndré on September 02, 2011, 04:50:16 PM
Read and follow the upgrade docs carefully and you should be fine. You maybe want to test the upgrade process on a local copy of your gallery.
Title: Re: Black background of Thumbnails
Post by: AzorMachine on September 04, 2011, 06:36:11 PM
Ok, 1.5.x now.
And my thumbnails still have a black background in the place of transparency.
Title: Re: Black background of Thumbnails
Post by: AzorMachine on September 04, 2011, 06:59:19 PM
Forget it, already made.
Title: Re: Black background of Thumbnails
Post by: Αndré on September 05, 2011, 11:21:13 AM
Quote from: AzorMachine on September 04, 2011, 06:59:19 PM
Forget it, already made.
Not sure what you try to tell me. But you have to use the admin tools to re-create all thumbnail files if you want to have the transparent background.