harry2701 Posted October 27, 2014 Share Posted October 27, 2014 (edited) I use prestashop 1.5.6.1 I upload some pictures in my cms page, I want to select a picture and view in the pictures with thumbnails. But the picture displayed error. Please see the attach files Edited October 27, 2014 by harry2701 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted October 27, 2014 Share Posted October 27, 2014 It seems images were not uploaded correctly, Can you check your site's folders permissions, eventually setting the whole img one to 777 recursive, and try again? Link to comment Share on other sites More sharing options...
harry2701 Posted October 27, 2014 Author Share Posted October 27, 2014 It seems images were not uploaded correctly, Can you check your site's folders permissions, eventually setting the whole img one to 777 recursive, and try again? The folders permissions is right. I solved this by another way. The img type which I upload is jpg, But the function getGDInfo($versionOnly = false) in class.image.php don't support the 'JPG Support'. So I change the code in this file to support showing the images of jpg type. // support jpg image type $outputs['JPG Support'] = true; if (isset($outputs['JIS-mapped Japanese Font Support'])) { unset($outputs['JIS-mapped Japanese Font Support']); } if (function_exists('imagecreatefromgd')) { $outputs['GD Support'] = true; } I am not sure is that a bug in the version of prestashop 1.5.6.1. Do you fix this in the next version? Link to comment Share on other sites More sharing options...
Recommended Posts