paulux Posted July 11, 2015 Share Posted July 11, 2015 (edited) Hello all! With Prestashop 1.6, I inserted some images in the html code of some pages (blog, manufacturer page etc...) but they are displayed with a questionmark when shown on smartphones or tablets. example: http://www.kazart-gallery.com/blog/1_inside-the-studios-of-novosibirsk-artists.html Can someone tell me why and help me to solve this ? Thanks in advance! Edited July 12, 2015 by paulux (see edit history) Link to comment Share on other sites More sharing options...
gabdara Posted July 12, 2015 Share Posted July 12, 2015 (edited) Those images are not loaded anywhere because the path is wrong. If you use the inspect element you'll see the path is: http://localhost:8888/prestashop/img/cms/1 (1).jpg You might see the images in your desktop browser because your desktop can access your localhost, but your other devices can't. When inserting images with the PrestaShop editor, it tends to put the full path to the image, including the current domain and when you move your website the paths are no longer valid. To make sure you preserve a valid path when moving to another domain, remove the domain name from the path of the image and always start with / . Example: /img/cms/1 (1).jpg Edited July 12, 2015 by gabdara (see edit history) Link to comment Share on other sites More sharing options...
paulux Posted July 12, 2015 Author Share Posted July 12, 2015 Thanks my friend, you are great! Indeed, very stupid mistake))) Link to comment Share on other sites More sharing options...
Recommended Posts