[Solved]: File Size Limits [Solved]: File Size Limits
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: File Size Limits

Started by pkulak, April 28, 2004, 04:41:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pkulak

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.
"To do any good at all, just believing you are right and you motives are good isn't enough." - Ursula K. Le Guin

Joachim Müller

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

pkulak

Ah, okay. That would explain why it's so random. Thanks.
"To do any good at all, just believing you are right and you motives are good isn't enough." - Ursula K. Le Guin