wifang / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Problem with thumbnails #361

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On the main page

What is the expected output? What do you see instead?
View thumbnail images. I see broken images. All images have more than 6 MB. 

What version of the product are you using? On what operating system?
1.8.5.3

Please provide any additional information below.

Original issue reported on code.google.com by thi...@thiagochaer.com on 31 Jan 2012 at 7:57

Attachments:

GoogleCodeExporter commented 9 years ago
Have you enabled thumbnails? ie. following in configuration.php settings

"enable_thumbnails" => TRUE

Icons view does not use thumbnails by default, because it requires GD library 
installed in server: http://www.php.net/manual/en/image.requirements.php

Original comment by samuli.j...@gmail.com on 1 Feb 2012 at 10:37

GoogleCodeExporter commented 9 years ago
Yes, I set "enable_thumbnails" => TRUE

The images are very large 5184 × 3456 pixels, can be the problem? And how to 
solve?

Original comment by thi...@thiagochaer.com on 1 Feb 2012 at 12:16

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I get this error, only with large image size:

{"code":999,"error":"Unexpected server error","details":"PHP error #2, 
imagecreatefromjpeg(teste\/IMG_4943.JPG) [<a 
href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg<\/a>]: failed 
to open stream: No such file or directory 
(\/home\/storage\/a\/2f\/94\/liderancajudaica\/public_html\/mollify\/backend\/in
clude\/Thumbnail.class.php:19)"}

Original comment by thi...@thiagochaer.com on 1 Feb 2012 at 12:38

GoogleCodeExporter commented 9 years ago
I solved this problem with: memory_limit = 300M on php.ini

Original comment by thi...@thiagochaer.com on 1 Feb 2012 at 12:44

GoogleCodeExporter commented 9 years ago
Great to hear!

Original comment by samuli.j...@gmail.com on 2 Feb 2012 at 7:00