Jump to content

Please help: Product images not matching products


Recommended Posts

Hi

 

I am having an annoying bug with prestashop.

Each time i try to update my store products with csv file, some product images do not match the product and its really frustrating.

If i go to admin and see the list of products, the images are matching but if go to the front-end they do not unless i clear the cache.

 

I tried to enable the compile option but still does not work, I also deleted the compile folder in cache and it didn't resolve the issue.

 

I read somewhere else that i have to modify the .htaccess file to the following and it didn't work.

Please help..

 
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType image/gif "access plus 1 seconds"
ExpiresByType image/jpeg "access plus 1 seconds"
ExpiresByType image/jpg "access plus 1 minutes"
ExpiresByType image/png "access plus 1 seconds"
ExpiresByType text/css "access plus 604800 seconds"
    ExpiresByType text/javascript "access plus 216000 seconds"
    ExpiresByType application/x-javascript "access plus 216000 seconds"
    ExpiresByType text/html "access plus 1 seconds"
    ExpiresByType application/xhtml+xml "access plus 600 seconds"
ExpiresByType image/x-icon "access plus 1 year"
</IfModule>
 
<IfModule mod_headers.c>
    <FilesMatch "\\.(ico|jpe?g|png|gif|swf|jpg)$">
    Header set Cache-Control "max-age=1, public"
    </FilesMatch>
    <FilesMatch "\\.(css)$">
    Header set Cache-Control "max-age=2692000, public"
    </FilesMatch>
    <FilesMatch "\\.(js)$">
    Header set Cache-Control "max-age=216000, private"
    </FilesMatch>
    <FilesMatch "\\.(x?html?|php)$">
    Header set Cache-Control "max-age=600, private, must-revalidate"
    </FilesMatch>
    Header unset ETag
    Header unset Last-Modified
</IfModule>
 
 

 

Link to comment
Share on other sites

×
×
  • Create New...