开发者

Joomla+Phoca Gallery+Site goes down when I enable thumbnail creation

开发者 https://www.devze.com 2023-02-02 10:06 出处:网络
I have phoca gallery installed and was working fine before yesterday.From yesterday I was getting an error of out of memory. So I set the upload limit to infinite. Now after that when I enabled Thumbn

I have phoca gallery installed and was working fine before yesterday.From yesterday I was getting an error of out of memory. So I set the upload limit to infinite. Now after that when I enabled Thumbnail creation, the whole site goes down, and an error was show in some line number 212 on the file ImageMagik.php . But as I have read in the user manual Phoca gallery uses GD Library rather than ImageMag开发者_如何学运维ik. Can anyone suggest me what could be the problem behind this. I want to solve it as soon as possible, and due to this client has asked to look for another solution than this. Please help!


this is mostly caused by memory error. In fact, there are two options you can do:

  • increase memory limmit on your server (if you are able to do)
  • or remove or reduce the size of images on the server.

See the Info panel in Phoca Gallery, there you will see the recommendation for the Phoca Gallery settings.

You can try to enable Pagination Thumbnail creating which saves a lot of memory while searching for images which do not have thumbnails yet (automatically thumbnail creating)

Yes, Phoca Gallery uses GD library, the imagemagic is an internal function where Phoca Gallery tries to use GD library to create thumbnails.

Jan

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号