1. tonis
  2. RO CSVI
  3. Monday, 23 September 2019
  4.  Subscribe via email
Hello,

Im performing VM products import. I import also images. The images are renaimed after import. Some images on the original server have spaces in the file URL, represented with the code %20 . While importing the space character is removed. The encode URL option is set to NO on the image tab.

Thanks for help.
Accepted Answer
Accepted Answer Pending Moderation
Hello,

In your debug log I see the following:
Process remote file: https://www.gamisport.sk/images/produkty/Fugitive0M3401-508.jpg
This is not the URL of the image in the XML file you are importing. In your import file the URL is
https://www.gamisport.sk/images/produkty/original/Fugitive%200M3401-508.jpg
I don't think the space is the only issue, something else is going on with your images. The word original is also gone. Looking at the template you have replace rules that replace original and that replace %20. This is the rule with the name vynechaj /original z nazvu obrazka

I would suggest to remove that rule from the import template and see how it goes.

So I tried to import the image as well and it works fine with the Encode URL set to No. See here my output:

2019-09-23 17:43:19 1 [DEBUG] Process remote file: https://www.gamisport.sk/images/produkty/original/Fugitive%200M3401-508.jpg
2019-09-23 17:43:19 1 [DEBUG] URL:https://www.gamisport.sk/images/produkty/original/Fugitive%200M3401-508.jpg
2019-09-23 17:43:19 1 [DEBUG] Opening socket to ssl://http://www.gamisport.sk at port 443
2019-09-23 17:43:20 1 [DEBUG] HTTP response:HTTP/1.1 200 OK
The image was downloaded and resized as expected.
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. # Permalink
Accepted Answer Pending Moderation
Hello,
Can you post your import debug log, sample of import file and your import template XML to check? To get the template XML file go to RO CSVI Maintenance page, select RO CSVI in first drop down Backup templates in second dropdown. Select your import template and click on continue. Post the downloaded XML file.
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
Hello,

thanks for reply, here it is
Attachments (3)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,

the replacement rules was there, because the images do not realy exist on the given path. Only if I remove the folder /original, the images are there.

...and there was also the problem with the removed space (%20) character. While removing folder path /original, it also removed the space ... before the second replacement rule could do its job. I reverse the two rules and now it works ok. %20 is replaces by space, then the path /original is removed. And all images are imported fine.

Thanks for your guidance :)
  1. more than a month ago
  2. RO CSVI
  3. # 3
  • Page :
  • 1


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