News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Product images keep disappearing, why?

Started by amymattian, November 28, 2019, 11:12:50 AM

Previous topic - Next topic

amymattian

Hello,

for some time already we have noticed some strange things happening with the product images. We import them to the stories/virtuemart/products folder, import the data with the CSVImproved component. The images seem to show up fine. Then after a few days, the images are not showing up anymore on the frontend.

I checked one example:

Product link:
www.raskaspari.fi/renkaat/riken-tl-on-off-ready-s-2-detail

The full image imported is:
www.raskaspari.fi/images/stories/virtuemart/product/riken-onoff-ready-s.jpg

The thumb url set in the import is:
www.raskaspari.fi/images/stories/virtuemart/product/resized/riken-onoff-ready-s.jpg

Both are in the correct folders.

On the product the images are as follows:

Used url   
images/stories/virtuemart/product/riken-onoff-ready-s.jpg
Used thumb url   
images/stories/virtuemart/product/resized/riken-onoff-ready-s.jpg

So exactly the same! Images are showing up correctly in the backend (see image). But not showing in the frontend:

https://www.raskaspari.fi/renkaat/riken-tl-on-off-ready-s-2-detail

What can be causing this issue? Any ideas?

Earlier I have noticed that Virtuemart adds numbers at the end of the image name and then cannot find the original image from the products and products/resized folders. But this time it seems to be that the images are exactly as in the original images, but still not showing up.


- Anne









jenkinhill

Have you tried copying the images to images/virtuemart/product/  ?  It's just a thought. I have not used the images/stories/directory for a long time now.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Studio 42

Do you tested using protostar default template ?
Why you dont use auto resize ?
I see that you have a zoom and perhaps the code is obsolete ?
If you see the images in back-end then, most time, it's template related.

GJC Web Design

the image source is showing

<img src="/components/com_virtuemart/assets/images/vmgeneral/empty.gif" alt="Ei kuvaa asetettu " class="medium-image" id="medium-image" data-pagespeed-url-hash="613883772" onload="pagespeed.CriticalImages.checkImageForCriticality(this);" style="font-family: Arial;">

so VM doesn't know about this or can't find this image .. what do u see on the admin product image tab?

what is there when you echo out the $this->product?
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