Advanced search  

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

Pages: [1]   Go Down

Author Topic: Black background of Thumbnails  (Read 4124 times)

0 Members and 1 Guest are viewing this topic.

AzorMachine

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Black background of Thumbnails
« 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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Black background of Thumbnails
« Reply #1 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.
Logged

AzorMachine

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Black background of Thumbnails
« Reply #2 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Black background of Thumbnails
« Reply #3 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).
Logged

AzorMachine

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Black background of Thumbnails
« Reply #4 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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Black background of Thumbnails
« Reply #5 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.
Logged

AzorMachine

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Black background of Thumbnails
« Reply #6 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.
Logged

AzorMachine

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Black background of Thumbnails
« Reply #7 on: September 04, 2011, 06:59:19 pm »

Forget it, already made.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Black background of Thumbnails
« Reply #8 on: September 05, 2011, 11:21:13 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.