1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Cannot upload large images onto "Image Gallery"

Discussion in 'SiteBuilder' started by MikeNZ, Oct 5, 2009.

  1. MikeNZ

    MikeNZ Guest

    0
     
    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"
     
  2. Nataliya Zagr

    Nataliya Zagr Regular Pleskian

    21
    87%
    Joined:
    Apr 14, 2009
    Messages:
    242
    Likes Received:
    0
    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
     
  3. MikeNZ

    MikeNZ Guest

    0
     
    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?
     
Loading...