Recent Topics

1 Dec 05, 2013 16:48    

Hi! I got a lot pictures that are not displayed with the message "cannot resize too large image". I took a quick look a the _image.funcs , which reads something like resizeing is restricted by the available memory of the server. Well, this is hard to belive since even pictures with ~500kb are not shown. Is there a way to improve that a litte?
Bevore I try this: // @ini_set('memory_limit', '256M'); <- is that thing save?

2 Dec 05, 2013 20:54

Hi @milchknilch,

You could raise the memory limit of your instance only if your hosting provider let you to do it. Please try again and go to "System > Status" to check the value of the "PHP memory_limit" row at the PHP section. Warning: be careful increasing the memory limit because it could break the balance of the server and become in a serious performance issue.

Also, please read the section "Tweak factor" in this manual page: http://b2evolution.net/man/back-office-reference/managing-files/setting-up-file-manager/file-manager-image-options

Regards!

3 Dec 05, 2013 23:22

Thank you for your reply. I'll have a closer look tomorrow but for now, the value is shown in the status check, but there's no gain in raising the memory limit from 64M to 350M or whatever. ~350kB seems to be the upper limit.

4 Dec 06, 2013 20:15

Sorry for bothering.
This was odd, debug was showing a memory usage peak of maybe 27M worst case, some pictures were working, others (smaller ones) not. Then, I noticed hat in some cases memory was stuck at 15M. As it turned out, there was another restriction active that I had to change and after quiet some time it was working at least in most cases ;) So, now I just have to figure out how to convince the picture viewer to handle the "img" in posts also, but I'll find out.


Form is loading...