Jump to content

Issue with image question marks - cannot swap them.


hakeryk2

Recommended Posts

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...