1. drees
  2. RO CSVI
  3. Friday, 04 December 2020
  4.  Subscribe via email
I import images via an xlm file. The xlm file contains one or two images and / or a PDF. About 50% of the images are saved just fine as the SKU with the mime type .JPG. The other images are not given a mime type. When downloading the example I get 8712048323257_1% 2E PDF files are never recognized and always have% 2E as extension. Not a problem in itself if it were only the pdf files, I can change them afterwards. But now both JPG and PDF files have extension% 2E. Then it gets a bit more difficult.
Is it possible that the pdf also gets the correct extension when downloading and why do some JPG files get a% 2E.

<FeatureValue>9789044756814_bcovr.jpg</FeatureValue> <ResourceLink
datestamp="20200110T080153">https://cbonline.boekhuis.nl/pls/cover/p_get_cover_fe?p_hash=F253B8D2727C7CB50C483DF0C8E59FB4<;/ResourceLink>

<FeatureValue>9789044756814_covr.jpg</FeatureValue>
<ResourceLink datestamp="20200110T080153">https://cbonline.boekhuis.nl/pls/cover/p_get_cover_fe?p_hash=9C099FC9E262637794839B8BA92EED96<;/ResourceLink>

<FeatureValue>9789044756814_fragm.pdf</FeatureValue>
<ResourceLink datestamp="20200123T140131">https://cbonline.boekhuis.nl/pls/cover/p_get_cover_fe?p_hash=6FA267E9685F66D10E9D6A1FED5D5A42<;/ResourceLink>
Accepted Answer
Accepted Answer Pending Moderation
Hello,
The good news is that the PDF will be saved. But no extension is added. Only a point instead of .pdf. Now I do that manually. But that is a lot of work.

The problem is the extension, since it is a not a valid image extension, RO CSVI is not able to process it. If you add the extension manually are you able to access the file?

And the file url is no longer correct. I am not able to change that yet. 1

The file_url updated to database is without pdf extension and that should be updated as well.
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # Permalink
Accepted Answer Pending Moderation
Hello,
Please post import debug log, sample import XML file and your import template XML file to check. To get the debug log check How to collect debug information? document. To get your template XML file, in RO CSVI maintenance menu select RO CSVI on first option, backup templates on second option, select your template and download the XML file. Post the XML file.
Kind regards,

Tharuna

=========================
If you use CSVI, 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
Here are the files. I see in the log that the pdf files are recognized but not getting a mime file. .pdf. Maybe that's a step closer.
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Drees,
Thank you for posting the requested files. RO CSVI checks if the files in file_url are image files before they are saved and so pdf is not saved. You can see error The file https://cbonline.boekhuis.nl/pls/cover/p_get_cover_fe?p_hash=FD3D705612A75EEC51324C6349AFEB51 is not an image in the debug log. Checking the upload of pdf file in VirtueMart, it does uploads the file but treats the file same as image file on frontend. We have added this issue to our todo list and will send you a patch file when it is ready. As of now we do not have an ETA on when the patch will be ready.
Kind regards,

Tharuna

=========================
If you use CSVI, 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
The good news is that the PDF will be saved. But no extension is added. Only a point instead of .pdf. Now I do that manually. But that is a lot of work. And the file url is no longer correct. I am not able to change that yet. 1
  1. more than a month ago
  2. RO CSVI
  3. # 4
  • Page :
  • 1


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