coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: rogerchin85 on February 17, 2009, 06:47:19 PM

Title: [Solved]: Auto resize image to fit
Post by: rogerchin85 on February 17, 2009, 06:47:19 PM
I don't have my site up right now, it's being worked on on a local machine so I'll try to explaining it as precise as possible.

For example my theme is a 1000px wide layout.

The displaying area would be the area between submenu and the footer. Basically the image it displays when you click on a thumbnail.

Now, I have images that are 1024x768. The annoying part is that when I click on a thumbnail, the fullsize image goes off the displaying area, so a little bit of the left side of the image is off the table.

My question is, is there an option to make it so that when i click on a thumbnail, it shows a fixed size, for example, 800x600, or even 640x480?

There is two reason I ask this question, number being what was said above. And number 2, if it shows the fullsize image once you click on the thumbnail, doesn't it defeat the purpose of the pop-up window? Right now i am using lightbox instead of the pop-up and am thinking, what's the point of the lightbox when it already displayed the fullsize image...?
Title: Re: Auto resize image to fit
Post by: Nibbler on February 17, 2009, 06:50:33 PM
Sounds like you disabled 'Create intermediate images' in config or set 'Max size of an intermediate pic' too high in config. Therefore you don't get any intermediate images.
Title: Re: Auto resize image to fit
Post by: rogerchin85 on February 17, 2009, 07:22:45 PM
Thanks, so apparently the pop-up window displays the original image. and the display area displays the normal image.

I did have create intermediate image turned off. :P