Black background of Thumbnails Black background of Thumbnails
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Black background of Thumbnails

Started by AzorMachine, September 01, 2011, 03:07:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AzorMachine

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?

Αndré

Moved from "Feature requests" board.

Please post a link to your gallery and a link to an image which has such a thumbnail.

AzorMachine

http://www.reinorpg.com/resources/

Just take a look at the Last Images on the bottom of the page.

Αndré

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

AzorMachine

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?

Αndré

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.

AzorMachine

Ok, 1.5.x now.
And my thumbnails still have a black background in the place of transparency.

AzorMachine


Αndré

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.