I'm experiencing the problem that I can't upload large images. Very similar to this problem: Craft CMS max image resolution? But I couldn't solve the problem so far.
My first question is: Where do I have to place the php.ini
so the upload script knows about it? (My web hosters help pages tell me to upload the file in every directory that need the ini files settings) I've tried /craft/app
(next to index.php
and Craft.php
) and /htdocs
(the web root).
Plus: I've tried to upload the exact same images to Craft at another web hoster where it works fine. But the limitations there are even stricter than where the problem occurs).
That means: if the location of the php.ini
was right the values of post_max_size
, memory_limit
and max_execution_time
are not the problem. Also it doesn't depend on the file size but on the image resolution.
image1.jpg | 703 x 951 pixels | ~850,000 Bytes → does work
image2.jpg | 2520 x 1680 pixels | ~750,000 Bytes → doesn't work
image2.jpg | save with same resolution as: "image3.jpg" → doesn't work
image2.jpg | save with lower resolution as: "image4.jpg" → does work
Does anyone know what else I could check to solve that problem?
Thanks for any help.