Hello everyone,
Today I began using Piwigo, and so far I am very pleased with its features.
However, when uploading an image (>5mb it appears) the uploaded image is not transported to the /i map. I do find it at the /uploads map.
I've chmod'ed the /i and /uploads map with its correct responsibilities. Also I have enabled "$conf['enable_i_log'] = true; ". And I set the max pixel size for extra extra large images to 9999x9999 (should be sufficient). I am uploading via the webupload of Piwigo.
I find no errors in the log, even the log file that is created upon resizing an incorrect image says:
[2017-12-12 12:28:15] [INFO] upload_file_pdf, $file_path = ././upload/2017/12/12/20171212122815-0c1a81cc.jpg, $representative_ext =
[2017-12-12 12:28:15] [INFO] upload_file_tiff, $file_path = ././upload/2017/12/12/20171212122815-0c1a81cc.jpg, $representative_ext =
[2017-12-12 12:28:15] [INFO] upload_file_video, $file_path = ././upload/2017/12/12/20171212122815-0c1a81cc.jpg, $representative_ext =
[2017-12-12 12:28:15] [INFO] Handling ././upload/2017/12/12/20171212122815-0c1a81cc.jpg got
Both tumbnails and pictures are not displayed on both front and back-end. When clicking on the image in the back-end I get "This image failed to load".
I'm still using GD instead of ImageMagick, I'd love to resolve this issue without the use of ImageMagick.
Piwigo version: 2.9.2
PHP version: 5.5.38
MySQL version: 5.6.36
Thanks in advance!
Offline
Hello
thanks for debugging
The pictures anr not moved, but the rsized pictures are created in data/i
could you publish a direct link to such an problematic picture? If not, whats the exact server response when requesting the i.php? url for thoses pictures? the point 1 of the FAQ you've probably read
Offline
Hello flop25,
Thanks for your reply!
I've done what you asked, unfortunately I am not allowed to share any images.
When I open a failed image I simply get a white screen. No error message is displayed, neither in any webconsole or on the screen itself.
I've retried the FAQ and uploaded a new (large >5mb) img. This is what was displayed in the log I got:
[2017-12-18 14:36:59] [INFO] upload_file_pdf, $file_path = ././upload/2017/12/18/20171218143659-cb42adeb.jpg, $representative_ext =
[2017-12-18 14:36:59] [INFO] upload_file_tiff, $file_path = ././upload/2017/12/18/20171218143659-cb42adeb.jpg, $representative_ext =
[2017-12-18 14:36:59] [INFO] upload_file_video, $file_path = ././upload/2017/12/18/20171218143659-cb42adeb.jpg, $representative_ext =
[2017-12-18 14:36:59] [INFO] Handling ././upload/2017/12/18/20171218143659-cb42adeb.jpg got
[2017-12-18 14:37:01] [DEBUG] [i.php]
src_path: '20171218143659-cb42adeb.jpg'
derivative_path: '20171218143659-cb42adeb-th.jpg'
o_size: '2961 2090 6188490'
d_size: '144 101 14544'
mem_usage: 30.100000000000001
timing: array(
'load' => 471,
'rotate' => '',
'crop' => '',
'scale' => 448,
'sharpen' => '',
'watermark' => '',
'save' => 3,
'send' => 0,
'total' => 923,
)
[2017-12-18 14:37:21] [INFO] upload_file_pdf, $file_path = ././upload/2017/12/18/20171218143721-09bfcaec.jpg, $representative_ext =
[2017-12-18 14:37:21] [INFO] upload_file_tiff, $file_path = ././upload/2017/12/18/20171218143721-09bfcaec.jpg, $representative_ext =
[2017-12-18 14:37:21] [INFO] upload_file_video, $file_path = ././upload/2017/12/18/20171218143721-09bfcaec.jpg, $representative_ext =
[2017-12-18 14:37:21] [INFO] Handling ././upload/2017/12/18/20171218143721-09bfcaec.jpg got
Edit:
I've uploaded 2 images. 1 Image below 5MB and 1 above. The 5MB image is no where to be found in the /i map. Only in the root /upload map. Also after generating some size with the 5MB image it is not found in the /i map.
Last edited by Rutger (2017-12-18 14:44:26)
Offline
The blank page is a 500 error? Open the dév panel of your browser usually through F12 and go a tab network (you probably need to refresh the page to get the respons of the server in that tab)
Offline
Hello Flop25,
Thanks for your very quick response!
I do find a 500 Internal Server Error for this image when I open it.
Offline
I'm afraid you have no choice but to try Imagemagik
Offline
Alright. Thank you for your support, I will try to get ImageMagick on my server!
Offline
If that solves the issue then you will know that your php-gd installation is faulty and then focus on changing the php installation /version
Offline