VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: sandomatyas on November 09, 2017, 21:15:17 PM

Title: Wrong thumbnail image
Post by: sandomatyas on November 09, 2017, 21:15:17 PM
I run a webshop, got a new product from remote import without image. I uploaded an image to the product without any problem. The file_url is /images/stories/virtuemart/product/547.jpg
When I checked the product, the image was correct but when I checked the category layout the thumbnail image was totally different, the file_url_thumb is images/stories/virtuemart/product/resized/547_100x100.jpg
I checked the file modification dates, the full image has the current date but the thumbnail was from 2016
So I think I successfully overrided an image but the thumbnail was an old one.
I also checked the #__virtuemart_medias table, the file_url_thumb field is empty for this product.
I deleted the thumbnail file and it fixed the problem.
How should handle this situation?
Title: Re: Wrong thumbnail image
Post by: GJC Web Design on November 09, 2017, 22:45:55 PM
Possibly clearing the Joomla cache would have been enough?
Title: Re: Wrong thumbnail image
Post by: sandomatyas on November 10, 2017, 07:18:20 AM
Nope. I checked the files. The main image was the new one, the resized was the old one from 2016
Title: Re: Wrong thumbnail image
Post by: GJC Web Design on November 12, 2017, 10:44:04 AM
Then, as u did u need to delete the thumbs.. the db entry is always empty .. the thumbs are made on the fly if the image isn't there