forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: pkulak on April 28, 2004, 04:41:07 am

Title: [Solved]: File Size Limits
Post by: pkulak on April 28, 2004, 04:41:07 am
Here's what happened. I noticed that coppermine would not take files larger then 300k or so on my new server. Specifically, if the file was large, imagecreatefromjpg() would fail. Well, not return the empty string like it's supposed to, the script would just stop dead right there.

So, I switched to ImageMagick. Now it seems that I have a larger file limit before things break down, and I haven't bothered tracking this one down as hard core as I did with the GD problem since the limit seems to be somwhere around a meg and I think I can live with that. Has anyone run into this problem before? I have this version running on my machine and no such issues, by the way.
Title: Re: File Size Limits
Post by: Joachim Müller on April 28, 2004, 09:42:16 am
this is a known issue for both image libraries: image conversion consumes a large amount of resources on a server; there are some settings in php.ini and server config that limit how much resources those scripts are allowed to consume. If you run your own server, you can modify those parameters in php.ini to some extent.
This has already been discussed on this board, for details have a look at http://forum.coppermine-gallery.net/index.php?topic=5701.0 for example.

GauGau
Title: Re: File Size Limits
Post by: pkulak on April 30, 2004, 04:20:02 am
Ah, okay. That would explain why it's so random. Thanks.