oQey Gallery
[resolved] Out-of-Memory Issues in thumbnail.class.php (2 posts)

  1. korythewebguy
    Posted 4 years ago #

    First and foremost, oQey gallery is a fantastic plugin in nearly every regard - The UI is both intuitive & streamlined, and the database setup is simple and easy to query from. I can't express enough my appreciation to the author for their excellent work.

    However, I've been experiencing an issue with oQey Gallery when it attempts to resize large images.

    The upload goes smoothly, but any image over 1.2mB in size results in the following message in my PHP error log:

    PHP Fatal error: Out of memory (allocated 68157440) (tried to allocate 17152 bytes) in /home/mysite/public_html/wp-content/plugins/oqey-gallery/thumbnail.class.php on line 187

    Although all of the necessary folders are group-writable (chmod 2755) and I have 64mb of RAM allocated for WordPress/PHP to use, large images fail to be resized by oQey Gallery. Since I can't allocate any more than 64mB of memory (it's the max allowable by our web host) this creates something of a stumbling block.

    Since ImageMagick is able to get around memory limitations on most web hosts, it would be helpful if oQey Gallery could either default to using ImageMagick if it's available, OR switch using WordPress' pre-defined image sizes since they can hooked-into and overridden by the ImageMagick Engine plug-in.

    Just my own thoughts. If anyone else has suggestions or insights on this, they have my thanks in advance, and I'd be greatly appreciative for any information they might share! :-)


  2. oQeySites
    Plugin Author

    Posted 4 years ago #

    Thanks for the suggestions, we'll take that into consideration for the next update. Follow us on twitter for updates...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • oQey Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic