Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Custom Category Thumbnails  (Read 5953 times)

0 Members and 1 Guest are viewing this topic.

Diametrica

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Custom Category Thumbnails
« on: September 22, 2005, 07:36:47 am »

Is there a way to display a custom category thumbnail without actually uploading the thumbnail into one of the category's albums?

The reason I want to do it this way, is because I want the category thumbnails to be a fixed size and I dont really want these thumbnails displayed in any of the category's albums.
« Last Edit: September 30, 2005, 07:26:08 pm by GauGau »
Logged

Constantin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Custom Category Thumbnails
« Reply #1 on: September 30, 2005, 02:37:52 pm »

The same request here. Link the Category thumbnails to perm. images, and not some of those in the albums. Does anybody know how to make this?

Thanks in advance.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Custom Category Thumbnails
« Reply #2 on: September 30, 2005, 02:51:32 pm »

If you are able to modify your db with a tool like phpmyadmin and you don't mind that this pic is somewhere else in your gallery/ other category?

Then create eg an album crap somewhere, upload the pic from wich you want to create your custom thumb into your crap album. Open the pic and click image info... for URL you'll find somthing with pos=-xxxx at the end. You'll need the xxxx

in phpmyadmin have alook at the category table... find the one you want to have your custom thumb for that's not in this category. Now just change the thumb cell to the xxxx from above

Constantin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Custom Category Thumbnails
« Reply #3 on: September 30, 2005, 03:53:05 pm »

Hey thanks very much! I will try this ASAP.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Custom Category Thumbnails
« Reply #4 on: September 30, 2005, 04:37:11 pm »

as always... backup your db before you mess with it !!!

Good luck  ;D

Constantin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Custom Category Thumbnails
« Reply #5 on: September 30, 2005, 09:31:28 pm »

Backed it up thanks to mysqldumper  8)! The thumbnail change worked just fine! I think I will install one of your mods for thumbnails in order to improve the quality of my gallery. Thank you once again for your kind replies!
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.