flyclothing Posted July 14, 2016 Share Posted July 14, 2016 I have a weird image issue that has persisted through many versions. It seems my image thumbnails for several products have been replaced by another. When I look at the products in the admin, they are correct but not on front end. You can see an example here: NEON SHUTTER SUNGLASSES 1. http://www.flyclothing.com/sunglasses/#/page-2 2. http://www.flyclothing.com/accessories/sunglasses/Neon-Shutter-Sunglasses.html This image keeps showing up on several products and is incorrect. I guess I could regenerate new images for home default and thickbox default but they seem to have no effect. Any thoughts on correcting? I also have a CDN but have cleaned it out several times. Link to comment Share on other sites More sharing options...
vekia Posted July 15, 2016 Share Posted July 15, 2016 hello can you show the link to proper image that appears in your shop back office (for this product) ? Link to comment Share on other sites More sharing options...
flyclothing Posted July 15, 2016 Author Share Posted July 15, 2016 (edited) Vekia, Here is the image of the product in the admin. Will that suffice or do you need image links for reference? https://www.flyclothing.com/img/tmp/product_mini_5376_1.jpg?time=1468546421 https://www.flyclothing.com/img/p/9/2/5/4/9254-small_default.jpg?time=1468545448938 Edited July 15, 2016 by flyclothing (see edit history) Link to comment Share on other sites More sharing options...
flyclothing Posted July 30, 2016 Author Share Posted July 30, 2016 Here is another example of how this bracelet image has become a default for a lot of products on the front end. Again, the product shows correctly in the admin but not site. http://www.flyclothing.com/curtis-and-co-watches.html?p=2 Link to comment Share on other sites More sharing options...
flyclothing Posted September 14, 2016 Author Share Posted September 14, 2016 Just looked at this brand and lots of the wrong images are showing up even though they are correct in the admin. http://www.flyclothing.com/curtis-and-co-watches.html Link to comment Share on other sites More sharing options...
musicmaster Posted September 16, 2016 Share Posted September 16, 2016 Try to delete the content of the img\tmp directory. Link to comment Share on other sites More sharing options...
flyclothing Posted September 16, 2016 Author Share Posted September 16, 2016 Thank you for the reply. I wish that would fix it but it seems to be part of the home_default images not temp. The correct image is showing in the admin but wrong on the front end. I tried regenerating product images for all of home_default but of course the server times out. I wish you could specifically regenerate for certain products. Link to comment Share on other sites More sharing options...
musicmaster Posted September 16, 2016 Share Posted September 16, 2016 Of the url's you mentioned one came from the img/tmp directory. And if you look at the origin of the images (right-click->inspect) you should see a different origin. Link to comment Share on other sites More sharing options...
flyclothing Posted September 17, 2016 Author Share Posted September 17, 2016 I tried deleting temp images and regenerating both home_default and thickbox_default and now it seems many images are missing. I also purged the CDN cache. I get many errors when regenerating images, for example: Original image is missing or empty (.../public_html/img/p/1/9/0/0/1900.jpg) for product ID 1363 but when I look in the admin, the images are all there. Thanks again. Link to comment Share on other sites More sharing options...
musicmaster Posted September 17, 2016 Share Posted September 17, 2016 I tried deleting temp images and regenerating both home_default and thickbox_default and now it seems many images are missing. I also purged the CDN cache. I get many errors when regenerating images, for example: Original image is missing or empty (.../public_html/img/p/1/9/0/0/1900.jpg) for product ID 1363 but when I look in the admin, the images are all there. Thanks again. And if you look in the directory with Filezilla? You have some kind of funny image program running that produces icons when you move the mouse over the image and that often doesn't finish ever. You might consider disabling this software. It could very well be the source of this trouble. Link to comment Share on other sites More sharing options...
rictools Posted September 17, 2016 Share Posted September 17, 2016 I tried regenerating product images for all of home_default but of course the server times out. First you must choose "delete former pics" (or what it is in english), after the timeout you must choose "not delete" and run the image generation until there's no more timeout. Link to comment Share on other sites More sharing options...
flyclothing Posted September 17, 2016 Author Share Posted September 17, 2016 Thank you for the replies! @musicmaster That icon was a lazy loader and the images werent loading because I regenerated the images but the CDN hadnt download them yet so I removed it for now. They seem to be displaying fine now. I am still working on the other issue and regenerating images (and deleting old) didnt seem to solve it. @rictools I did do as you described and deleted both the home_default and thickbox_default images and regenerated images but those bracelets keep showing up. Ugh! Link to comment Share on other sites More sharing options...
rictools Posted September 17, 2016 Share Posted September 17, 2016 I am still working on the other issue and regenerating images (and deleting old) didnt seem to solve it. @rictools I did do as you described and deleted both the home_default and thickbox_default images and regenerated images but those bracelets keep showing up. Ugh! OK, my answer was only for generating the pictures. Now I looked at your site, the pictures are all the same, it is always the same picture, so it's not a problem with the pictures but with the generated html-img-tags (cache? htaccess?). 1 Link to comment Share on other sites More sharing options...
flyclothing Posted September 17, 2016 Author Share Posted September 17, 2016 How do I got about fixing that...deleting htaccess file? Link to comment Share on other sites More sharing options...
rictools Posted September 17, 2016 Share Posted September 17, 2016 How do I got about fixing that...deleting htaccess file? Google http://www.templatemonster.com/help/prestashop-1-6-x-how-to-regenerate-htaccess-file.html Another possibility is the module that shows the pictures, what if you deactivate it? 1 Link to comment Share on other sites More sharing options...
flyclothing Posted September 17, 2016 Author Share Posted September 17, 2016 Do you know the name of the module that shows pictures? I've deleted and regenerated the htaccess file and still the same issue. I've got a bling bracelet virus. LOL Link to comment Share on other sites More sharing options...
rictools Posted September 18, 2016 Share Posted September 18, 2016 Do you know the name of the module that shows pictures? I've deleted and regenerated the htaccess file and still the same issue. I've got a bling bracelet virus. LOL If you would deactivate all caching (my first advice in post 13) it's easier to recognize this (and possibly it will solve the problem), your theme is Warehouse and the modul could be jqzoom or easyzoom. 1 Link to comment Share on other sites More sharing options...
musicmaster Posted September 18, 2016 Share Posted September 18, 2016 There is something weird about the links to your images. I can have direct link to images on my shop like https://www.topsnoep.nl/img/p/7/6/6/4/7664.jpg But when I try the same on your shop a slash is added to the url and I get a 404 error. I am not sure what to make of that. Link to comment Share on other sites More sharing options...
flyclothing Posted September 20, 2016 Author Share Posted September 20, 2016 I think you are right about the link to the images and found what seems to be the culprit. All images that are incorrect include this in the url: 9244-thickbox_default. It doesnt matter if I regenerate images or delete image in admin and replace it, this bracelet image continues to come back. I have to find what is generating the url for the images and remove/reset it. Link to comment Share on other sites More sharing options...
rictools Posted September 21, 2016 Share Posted September 21, 2016 I have to find what is generating the url for the images and remove/reset it. Why don't you deactivate caching? It's the work of one or two minutes. Link to comment Share on other sites More sharing options...
flyclothing Posted September 21, 2016 Author Share Posted September 21, 2016 I just dont listen do I! LOL I just tried that and doesnt seem to have an effect on that rogue image. But that the same time, I have so many caching settings and modules I dont know what is doing what. I am sure there is some overlap in the store. I regenerated just about every product image and no luck either. http://www.flyclothing.com/accessories/sunglasses/Revo-Aviator-Sunglasses.html Link to comment Share on other sites More sharing options...
rictools Posted September 21, 2016 Share Posted September 21, 2016 I just dont listen do I! LOL I just tried that ... The image is loaded from a cache like before, so I do not think that anybody can help you if you do not follow the simplest advices ... It's your problem, not ours ... 1 Link to comment Share on other sites More sharing options...
flyclothing Posted September 21, 2016 Author Share Posted September 21, 2016 Just to be clear, you are referring to the performance/cache section of Prestashop? If that is the case, then I have turned that off and remove the CDN address for now. I still have a page/site cache using the Express Cache module. Link to comment Share on other sites More sharing options...
rictools Posted September 21, 2016 Share Posted September 21, 2016 Just to be clear, you are referring to the performance/cache section of Prestashop? If that is the case, then I have turned that off and remove the CDN address for now. I still have a page/site cache using the Express Cache module. When I click "Inspect" in my browser, I see that the css comes from http://www.flyclothing.com/themes/warehouse/cache/v_1346_c92f74386bc77c1071c9cce58d787a14_all.css So I cannot answer your question what module is showing the pictures. I'm not a specialist for cache, there are some caching functions in prestashop and the first advice in problems like here is usually to deactivate all caching and clear / delete all caches. 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