MX File Upload Forum :: Large images not resized

This thread was displayed: 0 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Dries Coucke
05-06-2007 20:45:23 GMT +2

I have the issue that large images (eg 2560x1920) are not resized during upload. Is this a known issue?

eg http://www.pets.be/my/huisdieren/mijn-huisdier-pagina.php?PetID=5269

Back | Reply | Quote | Top
Guenter SchenkTeam InterAKT member
05-07-2007 02:11:35 GMT +2

Hi,

this usually happens when such PHP settings like "memory_limit" (the amount of RAM alloacted to your account) or "max_execution_time" (how long a script is allowed to run) have a rather low value -- resizing an image can be a "greedy" action, and the bigger the image is (yours is actually quite big) respectively the scaling factor is, your current PHP configuration may well run "out of memory" and will not perform the resize

Solution :: try increasing the current values to something higher, like "memory_limit" from the default 8 MB to 16 MB

Günter

Reply | Quote | Top
Hamish Blair
05-07-2007 10:29:39 GMT +2

I am having the same issue (and interestingly, trying to build a pet blog site too...) - where do I change these settings?  php.ini?

Cheers

Hamish

Reply | Quote | Top
Dries Coucke
05-07-2007 10:37:56 GMT +2

Thanks Günter.

My settings are

memory_limit 50M (fifty!)
max_execution_time 300

Within the upload behavior, I've specified that the max size is 4MB (I know that this is a lot, but the previous setting of 2MB was too low for many of the users who tried to create a profile).

I will try to change the settings.

Best regards,

Dries

Reply | Quote | Top
Guenter SchenkTeam InterAKT member
05-07-2007 10:38:42 GMT +2

>>
where do I change these settings?  php.ini?
>>

yes exactly. your server needs a restart after changing.

Günter

Reply | Quote | Top
© Adobe Systems Romania. All rights reserved.