hakeryk2 Posted June 30, 2016 Share Posted June 30, 2016 Hello community, I have strange issue. Prestashop in default whenever will not find image on server then it is showing this question mark. It is ok but in my case it is weird because when I upload image to the server the question mark is still displaying. I tried delete the browser cache, I tried it on another PC, another browser - it is still showing question mark instead of uploaded photo. When I will download the image from server it is correct one. Is it related to image caching with htaccess? Please help me - it is annoying. Link to comment Share on other sites More sharing options...
selectshop.at Posted June 30, 2016 Share Posted June 30, 2016 Check if your theme has any folder /img (theme, modules) if yes you should give them reciprocal writring rights (chmod 0750) for all folders /img contained in your folder /themes/your theme. Delete also smarty and browser cache, if not yet done after theme switch. Link to comment Share on other sites More sharing options...
hakeryk2 Posted June 30, 2016 Author Share Posted June 30, 2016 They have proper chmod. The thing is that those images are on server, they have proper name, proper path but they are still showing as question mark. It is only happening when image was not on server and it was displayed on page. Let me give You an example: In header.tpl I am putting a path to image http://mydomain.com/themes/default-bootstrap/img/myphoto.jpg but this image is not uploaded to an server yet. I am uploading header.tpl to the server and when I hit f5 I see the question mark instead of photo which is ok because file is not on the server. After that when I upload myphoto.jpg to the server I cannot see new onebecause it is still showing this question mark even this file is properly uploaded on server. (when I download it is proper one, not question mark). It as apperaing on all PC's etc. It is not related with browser cache but maybe with expiration date of images on the server. Any help? Link to comment Share on other sites More sharing options...
selectshop.at Posted June 30, 2016 Share Posted June 30, 2016 Please let me know the URL of your page, for to verify directly on source and header protocol tools. Link to comment Share on other sites More sharing options...
hakeryk2 Posted June 30, 2016 Author Share Posted June 30, 2016 I send You a PM. P.S Strange thing - I send this link to my friend on facebook and when he open it he still see question mark but the thumbnail on facebook was showing proper image? How? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now