[Solved]: Auto resize image to fit [Solved]: Auto resize image to fit
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[Solved]: Auto resize image to fit

Started by rogerchin85, February 17, 2009, 06:47:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rogerchin85

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...?

Nibbler

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.

rogerchin85

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