Page 1 of 1

Automatic resize of large images?

Posted: 17 Jul 2008, 15:32
by rune
Hi,

I can see that if I put a full size image (right from the camera) in the gallery, the picture will be cropped randomly (not only the thumbnail, but also the full size picture) It is probably not a good idea to put large pictures on the web due to the speed of the gallery anyway, but you haven't thought of an option that automatically resize the images to a smaller size? Then I do not need to do this before I put them in the gallery.

Regards,
Rune

Posted: 17 Jul 2008, 16:09
by Nick
Sure we did, but you can't do that on any given hosting, resizing requires large memory limits to be set for php which you can have only on dedicated or your own server usually. Usual memory quote per single process is around 16 meg. To resize picture it gotta be unpacked in memory 3000x2000x24bit(3bytes) photo will consume like 18 megs alone.

Posted: 17 Jul 2008, 16:41
by mjau-mjau
Unfortunately, its like pain says, pretty much impossible to resize very large images unless you own a dedicated server. We can keep it in the back of our minds though - For example, we could create a small desktop application "imagevuploader" or something that also resizes images on upload =)

Posted: 17 Jul 2008, 16:54
by rune
Thanks for the unbelievable fast answer! :D

I have my own server. Up til now I have used Gallery (http://gallery.menalto.com/) to put my picture on web, and Gallery automatically resize large pictures. Thus, I've already increased the php memory limit to 64MB.
Imagevue V2 is however much more elegant than Gallery, so I need to switch to Imagevue. :-) Nice work!!

I do believe that it is more common to have own servers nowadays, so I hope this is something you will consider in a future version.

Regards,
Rune

Posted: 17 Jul 2008, 17:05
by Nick
This asks for some PRO version, the thing is, we tried to not overload it with options. I guess we'll get back to the subject bit later, somebody in forum been asking about watermark, but watermark is even more resource-dependent, and you have to store originals somewhere (which eats lots of space too).

But if you want to work with big pictures, it is better to use imagemagick than gd, and to use it you have to understand abit how to configure it, and thats not what average user want/know/will do.

Posted: 17 Jul 2008, 18:46
by mjau-mjau
Just keep in mind upload large files at 5MB, just so they are reduced to 300kb is a little unpractical, but I guess for some users its simply the best solution =)

We can look into this further ahead when things are not so critical.

Posted: 26 Jul 2008, 08:10
by lowray1975
mjau-mjau wrote:Just keep in mind upload large files at 5MB, just so they are reduced to 300kb is a little unpractical, but I guess for some users its simply the best solution =)

We can look into this further ahead when things are not so critical.
Some sort of java based uploader that rotates and compresses/resizes would be great. While I have the ability to manipulate images, the people who use the image gallery the most (i.e. the wife) doesn't. So she'd end up uploading huge files just to resize them on the server. This would be a great feature!