coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Nalco on August 15, 2006, 12:05:25 AM

Title: Is this possible with Coppermine?
Post by: Nalco on August 15, 2006, 12:05:25 AM
I am trying to find a gallery script to switch my static gallery over to. Mainly for ease of updates. I am liking what I see so far, but there are a couple things that I need to do and I'm not sure if its possible.

All of the thumbnail images will 76x67. In one category, I would like to only show the thumbnails, and not have them clickable. I dont want to have them linked to any other image.

In 2 other categories, the thumbnails will be the same size, but I would like to link the thumbnail images to an image other than the one depicted in the thumbnail. The images they link to will be 262x323.

Here is an example of what I mean. I want a small image 76x67 of a cat when clicked to open up a 262x323 image of a dog.

Does that make sense? Is this possible?

Thanks!
Title: Re: Is this possible with Coppermine?
Post by: Sami on August 15, 2006, 06:21:51 AM
No , it's not possible under standard CPG
thumbnails will ceate from the orginal file and it can't be different from that!
it means , the thumbnails and orginal files would be a same image with different size
You need o code it your self for such a feature
Title: Re: Is this possible with Coppermine?
Post by: Joachim Müller on August 15, 2006, 07:55:53 AM
Changing the thumbnail to look different than the pic it links to is not hard to accomplish, just follow the custom thumbnail section in the docs.
Coming up with a hack that will only show the thumbs without a link to anything else should be pretty easy, just needs a small hack to accomplish this.
Title: Re: Is this possible with Coppermine?
Post by: Nalco on August 15, 2006, 09:49:14 PM
Well, I was able to figure out how to get a different image to pop up when clicking the thumbnail, so thats sorted.

You were talking about a small hack to remove links from thumbnails. Will that be category specific, or will will it be a global change, because I'd like to do this on only one category.

Also, any hints you can provide as to what needs to be changed to accomplish this would be most appreciated.

I'm guessing its something in displayimage.php.

Thanks!!!