1. barracuda69
  2. RO CSVI
  3. Tuesday, 29 November 2016
  4.  Subscribe via email
Hi,

I imported an xml and all worked fine except the image.

While there is an image assigned to the product, thumbnail is created and image fields are filled in, there is no image shown in product details. Instead there is a plus sign and when you click on it the image is shown.

Any ideas?

Thanks!
Accepted Answer Pending Moderation
Hello,
Can you post the debug log of the import and also sample import file? To know how to get the debug log check Where to get the debug information? section on top of this page. Also post the url of product details of front end to check.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hi,

Thanks for your swift response!

URL of product:
http://www.audioshow.gr/el/%CE%BA%CE%B1%CF%84%CE%B1%CF%83%CF%84%CE%B7%CE%BC%CE%B1/404/'music-339'/ixeio-kitharas-150w-stereo-detail

Sample file and log are attached.

Thanks!
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,
As per your debug log the image has been imported into the database, look at the query below. The image is available in the given path so i think this has something to do with your front end template. Perhaps you can post on VirtueMart forum on this issue. This don't seem to be an CSVI issue.

UPDATE `audios_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='1936_b.jpg',`file_description`='1936_b.jpg',`file_meta`='1936_b.jpg',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='xml/bonmusic-images/1936_b.jpg',`file_url_thumb`='xml/bonmusic-images/resized/1936_b.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id`='46051'
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hi,

Could be a combined issue.

If it was only the template, then inside the product in the backend there would be a photo of the product in the image tab. As you see in the screenshot I sent you first, instead of the image there is the same + sign we see on the front end. So it seems that something is going to the wrong place ;-)

Can you guide me as to if instead of getting the images from the folder I specified, they can be copied to images/stories/virtuemart/product to see if then, the template works?

You see I first created a php file to download all images from the xml locally so that the process would be much faster and then they would be imported to the appropriate virtuemart images folder.

The way this works now is that it uses the folder I downloaded the images instead of copying them to the virtuemart path.

Thanks!
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello,
Can you guide me as to if instead of getting the images from the folder I specified, they can be copied to images/stories/virtuemart/product to see if then, the template works?

I don't think the image folder can be a issue but to try it you can copy the images from your folder to images/stories/virtuemart/product and can just have image name in your import file. CSVI uses default VirtueMart image folder path if no path is specified. You can do a fresh import so your images are set to default VirtueMart image path.
One other way is if your images are remote, you can have the image URLs in file_url field in your import file and in your import template settings on Images tab set Save images on server option to Yes . This way CSVI will automatically download the image to your server during import.

The way this works now is that it uses the folder I downloaded the images instead of copying them to the virtuemart path.

Yes, that is because you have set the location of product image to xml/bonmusic-images in your import template settings on Images tab.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
That was it!

The folder paths confused the whole import.

I deleted my path in "Location product files" and checked "save images on server" and that was it.

Thanks for your help!
  1. more than a month ago
  2. RO CSVI
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!