News:

Looking for documentation? Take a look on our wiki

Main Menu

Wrong thumbnail image

Started by sandomatyas, November 09, 2017, 21:15:17 PM

Previous topic - Next topic

sandomatyas

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?

GJC Web Design

Possibly clearing the Joomla cache would have been enough?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

sandomatyas

Nope. I checked the files. The main image was the new one, the resized was the old one from 2016

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation