Author Topic: Wrong thumbnail image  (Read 226 times)

sandomatyas

  • Jr. Member
  • **
  • Posts: 153
Wrong thumbnail image
« 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?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7638
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
Re: Wrong thumbnail image
« Reply #1 on: November 09, 2017, 22:45:55 pm »
Possibly clearing the Joomla cache would have been enough?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

sandomatyas

  • Jr. Member
  • **
  • Posts: 153
Re: Wrong thumbnail image
« Reply #2 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

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7638
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
Re: Wrong thumbnail image
« Reply #3 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation