• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Cannot upload large images onto "Image Gallery"

M

MikeNZ

Guest
According to Sitebuilder's Documentation, image size should be below 3 MB. I have tried upload images with different sizes and different resolutions. It seems to me that "Image Gallery" does not handle file size more than 1MB and resolution over 2000 pixels without resizing it. I'm trying the image below without resizing it, and getting this error "Action status: 2; Target: /Wizard/Edit/Modules/ImageGallery/ImageUpload; Messages: Error! Operation has not been completed"

http://www.astro.caltech.edu/palomar/images/blog/Snowfall from Dome on Manzanita Tree 001.jpg

This image is only 1MB in Size and 1115x836 pixels.

MY /etc/php.ini "memory_limit = 32M"
Sitebuilder/etc/php.ini "memory_limit = 64M"
 
Hello,

If the problem is caused by PHP extension Suhosin you may see the following error in log file /var/log/user.log on the publishing server:

Oct 6 6:44:56 hostname suhosin[11620]: ALERT - configured request variable value length limit exceeded - dropped variable 'request' (attacker '123.123.123.123', file '/PATH/TO/FILE')

If the problem is caused by mod_security look into Apache error log file for details.

Please, see the following article for more information:

http://kb.odin.com/en/5503

Thank you
 
Thanks for your reply. I'v checked error log on publishing server and found nothing about security issue. However, it is complaining about "Allowed memory size of 67108864 bytes exhausted". I then increased the memory limit to 128M. Everything works fine now. But my question is why does it need so much memory for a 5 Megabytes photo?
 
Back
Top