forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Diametrica on September 22, 2005, 07:36:47 am

Title: Custom Category Thumbnails
Post by: Diametrica 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.
Title: Re: Custom Category Thumbnails
Post by: Constantin 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.
Title: Re: Custom Category Thumbnails
Post by: Stramm 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
Title: Re: Custom Category Thumbnails
Post by: Constantin on September 30, 2005, 03:53:05 pm
Hey thanks very much! I will try this ASAP.
Title: Re: Custom Category Thumbnails
Post by: Stramm on September 30, 2005, 04:37:11 pm
as always... backup your db before you mess with it !!!

Good luck  ;D
Title: Re: Custom Category Thumbnails
Post by: Constantin 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!