Advanced search  


cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: Custom album image  (Read 985 times)

0 Members and 1 Guest are viewing this topic.


  • Translator
  • Coppermine novice
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 49
Custom album image
« on: September 18, 2018, 05:54:56 pm »


Would it be possible to add an album image that is not a file from the album itself?

Let me explain, I have a gallery with world banknotes, I would like to put as an album image the flag of each country, but evidently when entering I only want the coins and bills to appear, not the file as such of the flag.
Right now the only option available is to change the generic file thumb_nopic.png but it applies to all.

If you have good to take it into account please, I appreciate it.
thank you!


  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15530
Re: Custom album image
« Reply #1 on: September 25, 2018, 05:01:43 pm »

That's possible if the picture resides in another Coppermine album with one of the following workarounds:

1. With a tool like phpMyAdmin, open the "albums" table, search for the correct album and set "thumb" to the picture ID of your desired album picture

2. Use the album keyword feature to temporary add the desired picture to the album, set it as album picture and then remove the album keyword.
- In Coppermine, open the album properties and set a album keyword, let's say "tmpkeyword"
- Edit the file information of the desired picture and add the same keyword as above to that picture (i.e. tmpkeyword)
- Now, the picture should be part of the album and you can set it as album picture
- To remove the album picture from the album, just remove the temporary keyword from the album, the picture or both.
Pages: [1]   Go Up

Page created in 0.016 seconds with 21 queries.