Member
Member
swong1   15-09-2010, 08:49
#1

Hi everybody,

I have a small problem with zenphoto that somebody might be able to help me with.

I've been using zenphoto for around a year now and everything has been great. Recently, I acquired a new 18MP camera which outputs photos at a resolution of ~6000x3000.

Now when I try to upload these images to zenphoto, thumbnails aren't generated anymore. (They are still within the server size limit) So I used lightroom to export the photos at 3000x2000 and for the most part, they are fine, except for the portrait photos which have a resolution of 2000x3000.

The thing is, if I get the exact same image and turn it to landscape, then save in the exif data that it's a portrait and let zenphoto auto rotate it, it's fine.

So I think maybe there's some sort of zenphoto restriction on the vertical resolution?

Can anybody shed any light on this matter?

Thanks in advance!

Member
Member
swong1   15-09-2010, 08:53
#2

For reference, here is one of the images I was referring to:
http://gallery.swong.info/index.php?album=public&image=IMG_0121.jpg

Administrator
Member
Member
swong1   15-09-2010, 10:13
#4

Hi,
Thanks for your reply. But that doesn't really make sense, because if I rotate the image, then it works fine: http://gallery.swong.info/index.php?album=public&image=IMG_0121b.jpg

Technically, after rotation, the image still has the same amount of pixels as before rotation so shouldn't it require the same amount of memory?

Administrator
Administrator
acrylian   15-09-2010, 10:45
#5

Sorry, I can't answer that. I don't know how the GD lib or Imagick (depending on what you use on your site) work internally and if that makes any difference to them.

Member
Member
sbillard   15-09-2010, 20:53
#6

While I do not really know the algorithm for rotation in GD for handling an image, I can postulate that if the processing is done a "row at a time" it might take less memory to process an image where the row is is 2000 pixels vs 3000 pixels.

Anyway, speculation will not fix your problem. What you need to do is upload image sizes that work on your server. Since most displays are 1900 pixels wide or smaller maybe you do not need pictures so big as the ones you are uploading.

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