Jump to content

How to display cms Thumbnails pictures


Recommended Posts

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

×
×
  • Create New...