Support is offline. We are back Friday 4 December, 09:00.

First image of the product does not display properly #68106

Resolved Locked jcsl opened this topic Wednesday, 08 September 2021 · 9 replies
Author

I have created a template to import from an xml feed. However When the import is made the first image of the product does not display properly. Please watch the video to understand the issue. If I mannually upload the image it displays correctly. https://www.loom.com/share/203a818bc89c409a8f53b13eb6d257a4

Support

Hello,
The video helped to understand the issue. Trying to login into site with details provides says "Username and password do not match or you do not have an account yet.".

Can you please post the debug log of the import to check? That will help us to know on how the images are processed on import. To get the debug log check How to collect debug information? document.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Please see new credentials. ... the error log is also attached.

Author

Please note that I have re-installed csvi, deleted all products and images and tried re-importing but still not result.

Support

Hello,
Thank you for the debug log. Checking image for first product HM6004 shows that image does not exists in the link https://prodromosk5.sg-host.com/images/stories/virtuemart/product/HM6004.jpg and even the thumbnail image link shows image does not exists https://prodromosk5.sg-host.com/images/stories/virtuemart/product/resized/HM6004.jpg. These links are based on the path of images from debug log. Do you have the images in these locations? As per these links you should not be seeing image for thumbnail image too.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Sorry about the ... after I sent you the log I restored to older version of website and thus the data do not apply. I have run the template anew and cancelled it when the first 15 products were created. Attached please find the relevant log.

You can check for example SKU: ΚΑΡΥΔΙ 292 Φ60 ( https://prodromosk5.sg-host.com/katigories-proionton/eksoterikos-xoros/kapakia-werzalit/f60/epifaneia-trapeziou-292-werzalit-f60-se-karydi-xroma-hm5227-09-buy )

All images exist but the main image does not display properly.

Support

Hello,

You can check for example SKU: ΚΑΡΥΔΙ 292 Φ60 ( https://prodromosk5.sg-host.com/katigories-proionton/eksoterikos-xoros/kapakia-werzalit/f60/epifaneia-trapeziou-292-werzalit-f60-se-karydi-xroma-hm5227-09-buy )

There are no details for this product in debug log so was not able to check. Is this one of the first 20 products in import?

I have run the template anew and cancelled it when the first 15 products were created. Attached please find the relevant log.

Looking into the product HM6004 in debug log, the image path saved in database for main image is images/stories/virtuemart/product/41947182_1.jpg and for thumbnail it is images/stories/virtuemart/product/resized/41947182_1.jpg. These links show that image and thumbnail image exists. Can you go to VirtueMart Configuration page and on Templates tab, what is the URL for Product Media URL? Is the saved Product Media URL path same as the path imported? See attached screenshot and where to find the field.

  • Screenshot 2021-09-09 at 10.28.22 AM.png

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Yes it is . the folder is correct and the images and thumbernails are correctly generated.

  • Screenshot 2021-09-09 at 10.52.50 AM.png
Support

Hello,

Yes it is . the folder is correct

Folder is not correct. In your configuration you have Product Media URL field as images/virtuemart/product but in your image path you have it as images/stories/virtuemart/product/ (see the extra stories folder in the path). To solve this in your template settings on Image tab set Location product files field to images/virtuemart/product/, save the template and run the import. You need to clean the existing images, so to do that set Delete Image relations field to yes on Image tab so product and image existing links are deleted and new images are linked.

  • Screenshot 2021-09-09 at 1.32.26 PM.png

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

:D You are absolutely right... Thank you for the great support!!!!

This topic is locked. New replies are not possible.

Log in to reply to this topic.