"Resize on first access" of uploaded, large pictures broken with latest CVS update 2005-11-20

phaze

Joined: 2005-11-20
Posts: 4
Posted: Sun, 2005-11-20 18:54


Gallery version = 2.0.1+ core 1.0.9
PHP version = 5.0.4 apache2handler
Webserver = Apache/2.0.54 (Fedora)
Database = mysqlt 4.1.14
Toolkits = ArchiveUpload, Gd, Exif
Operating system = Linux 2.6.14-1.1637_FC4 #1 Wed Nov 9 18:19:37 EST 2005 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Hi there,

I upgraded my galleries to the latest CVS version 2005-11-20 today. Upload of pictures is possible, but only small ones (e.g. 1024x682 worked) will be resized with thumbnails etc, if you choose the "resize on first access" feature. Anyway, if I try to upload a picture sized 2848x2136 with 1.4MB filesize, the automatic resize will crash. After some time the thumbnail stays empty, the resized picture stays empty, the highlight stays empty and the full sized picture is also not accessible. Furthermore the album is broken and cannot be deleted until you upload a small picture that works and choose it as the highlight. Then you are able to delete the album.

This problems exists with all possible upload methods and is reproducable.

Any suggestions?

Cheers, Axel.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-11-20 19:04

increase your php memory limit. you're using GD and it needs a lot of memory.
or use netpbm.

for further questions, please add a link to your g2 and a phpinfo link.

FAQ: What information is required when I ask for help in the forums?

 
phaze

Joined: 2005-11-20
Posts: 4
Posted: Sun, 2005-11-20 23:04

Thanks, memory used to be at 32M, I raised it to 64MB, now it works.

Cheers, Axel.