After upgrading csvi, if the thumb image is not set the system doesen't link any thumb image (I need to have the thumb image equal to the first product image)
Hello,
Can you send me your sample import file and debug log of the import to check?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
I've tryed to work aroud adding the file_url_thumb however the file_url name is generated by CSVI so if there are more image the name is "SKUNUMBER_1.jpg" and if there is only one image the name is "SKUNUMBER.jpg" so I can't set a standard name for the thumg creating it from the product_sku plus the "_1.jpg" (or ".jpg").
Please this matter is really urgent cause i upgraded CSVI in more then one site!
Hello,
Can you send me the import file and debug log as requested to check?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Here the files
Hello,
If there is no file_url_thumb field set, CSVI will use the file_url field for the file_url_thumb and that is happening in your case too, check the query below from your debug log. The only issue i see is that the images are not published (You can check in the same query). We have introduced a new field media_published in the latest CSVI version which you can include in your import file to publish the images.
UPDATE `APA_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='3002073705_2.jpg',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/3002073705_2.jpg',`file_url_thumb`='images/stories/virtuemart/product/3002073705_2.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`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`='54668'
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
If I can say.. also if you solve this problem it would be usefull to name the files always in the same manner:
the first image (also if it is the only one of the product) when named automatically by the sku should always be named, or with or without the _1... I would be able to solve my problem without askyng you (sorry to disturb).
Ok.. but the images were already published and visible also if the thumb was not
The problem is not solved.. i added the field you told me (media_published) and setted to "Y"
Hello,
I can see the issue now, for this product, only the path is inserted into file_url_thumb and not the image name. I can also see that it is happening only with few products. I doubt if it is something to do with image size. Can you send only this image to my email tharuna@csvimproved.com? I will run the import of it and check. Query to check from your debug log.
UPDATE `APA_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='0782421054557-SQUIRTING PUSSY TAN STROKER FLESH',`file_description`='SQUIRTING PUSSY TAN STROKER FLESH',`file_meta`='0782421054557-SQUIRTING PUSSY TAN STROKER FLESH',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/3001068351_1.jpg',`file_url_thumb`='images/stories/virtuemart/product/',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`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`='54350'
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Sending now.. you see the problem only on some product cause i'm running a workaround import so the product with more then one image can bi fixed....
..... sent
Ok, i ran the import with that image and it went good. Can you also send your template XML file? I will try with your template and file here.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
how?
Hello,
To get the template XML file, Go to CSVI maintenance page, select CSVI Pro in the first option, Backup templates in the second option. Select the import template you are using and click on continue. Your template will be downloaded if you have set it to Download option. Post the file here.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Ok.. sent by e-mail..
do i have to post it here?
Any luck?
Still on it, will keep you posted.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Hello Roberto,
I have imported the file you posted in this post with the template you sent us. The import result is that all images are imported as expected.
This is from your debug log
file_url='images/stories/virtuemart/product/3001068351_1.jpg',file_url_thumb='images/stories/virtuemart/product/',file_is_product_image='1'
this is from my debug log
file_url='images/stories/virtuemart/product/3001068351_1.jpg',file_url_thumb='images/stories/virtuemart/product/3001068351_1.jpg',file_is_product_image='1'
So I checked the PHP version but that is 5.6.17 in your case and in both my trials they were 5.6.10 and 7.0.8.
Apart from updating CSVI, did you also update the VirtueMart addon for CSVI?
Tharuna is taking a closer look but let's see if everything is up-to-date.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Hello Roberto,
I was able to find out the cause for your issue and fix it. Can you try to apply the attached patch file and see if it solves the issue?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Everything seem to be fine now!
Thenx
Log in to reply to this topic.