1. drees
  2. RO CSVI
  3. Friday, 07 June 2019
  4.  Subscribe via email
When importing the images, the folder where the image is located depends on the last number of the article number. How can I automate that with a rule.

402290 VNKM1582 ftp://http://ftp.compulutions.nl/640/2/VNKM1582.jpg
402291 VNKM1261 ftp://http://ftp.compulutions.nl/640/1/VNKM1261.jpg

Via CSVI Multireplace I have placed the article number ftp://http://ftp.compulutions.nl/640/
Accepted Answer Pending Moderation
Hello,
Were you able to make the folder name in image URL? Did you write your own rule plugin?
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,
Even if you find a regular expression to find the matching string "640/" in the image URL, you need to replace it with the last digit of article number by entering the value in Replace field. Replace field right now is a text field where it takes only the input values and it is not possible to use the value produced by another rule or operation like Substring.

You can write your own rule plugin to create the folder name as needed.
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
i want the folder name to be made in the image url? if possiple.


is it possible via regex ?
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello,
If the length of the article number is going to be same for all the products then in Multi replace plugin using Substring option you can get the last digit by setting Start and End fields as 7 where the last digit is in the 7th place of the article number. But the problem is how it is going to put in place of folder name. Do you have any specific string before the image name which needs to be replaced by the last digit of article number? Or you want the folder name to be made in the image url?
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
  • Page :
  • 1


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