1. RobertoDS
  2. RO CSVI
  3. Friday, 05 August 2016
  4.  Subscribe via email
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)
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
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!
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Here the files
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
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).
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Ok.. but the images were already published and visible also if the thumb was not
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
The problem is not solved.. i added the field you told me (media_published) and setted to "Y"
Attachments (3)
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
how?
  1. more than a month ago
  2. RO CSVI
  3. # 12
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 13
Accepted Answer Pending Moderation
Ok.. sent by e-mail..
do i have to post it here?
  1. more than a month ago
  2. RO CSVI
  3. # 14
Accepted Answer Pending Moderation
Any luck?
  1. more than a month ago
  2. RO CSVI
  3. # 15
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 16
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 17
Accepted Answer Pending Moderation
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?


patch_vm_media_thumb_2016_08_05.zip
Attachments (1)
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. # 18
Accepted Answer Pending Moderation
Everything seem to be fine now!
Thenx
  1. more than a month ago
  2. RO CSVI
  3. # 19
  • Page :
  • 1


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