Member
Member
fana   2009-07-23, 09:22
#1

Hello,

I'm using zenphoto 1.2.3 with Thinkdreams theme. The album thumbnails are generated using the function like this:
printCustomAlbumThumbImage(getAlbumTitle(), null, 280, 130, 280, 130, 0, 0, 'reflect', null);
This way, the original photo is 650x433px and gets resized and cropped to 280x130px.

The problem is that one of my album thumbnail images is already 280x130px and gets stretched anyway, when it should remain untouched.

Is there any option to prevent this?

Thanks.

Administrator
Administrator
acrylian   2009-07-23, 09:25
#2

The thinkdreams theme is unsupported but there is an option to disallow upscaling of images smaller than the set size.

Member
Member
fana   2009-07-23, 10:07
#3

Thank you for the quick answer acrylian.

I already had the option for upscaling disabled. The result is the same. If I use an image with 280x130px it gets stretched and cropped when it shouldn't.

No luck for this problem?

Administrator
Administrator
acrylian   2009-07-23, 11:43
#4

I believe this has never been tested at all (generally images are bigger than the thumbs). Anyway, I would first recommend to try the recent 1.2.5 release, too.

Member
Member
sbillard   2009-07-23, 17:13
#5

Are you watermarking the images?

Member
Member
fana   2009-07-23, 17:47
#6

No, i'm not watermarking the images.

The thing is, the original image was bigger than the thumb but the resulting cropped area wasn't ok because it cropped the center of the image. So I cropped the image in Photoshop with the final thumbnail size (280x130px) to overcome this problem.

So, when I choose this image to be the album thumbnail, it gets cropped and stretched. What it should do is ignore the crop function if the image size is equal the given parameters...

But I'll try to upgrade to latest version...

Thanks for your help so far!

Member
Member
sbillard   2009-07-23, 18:53
#7

If there is no watermarking or other needed processing the image itself should be returned. I think, though, that if there is processing needed the crop will be applied.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.