1. atrus
  2. RO CSVI
  3. Thursday, 07 May 2015
  4.  Subscribe via email
Hi Roland,

I'm trying to import some product images from a remote, password protected ftp with no success. More specifically, the file url field is smth like:

ftp://username:password@h2373017.stratoserver.net/16_0.jpg|ftp://username:password@h2373017.stratoserver.net/16_1.jpg|ftp://username:password@h2373017.stratoserver.net/16_2.jpg|ftp://username:password@h2373017.stratoserver.net/16_3.jpg

If i enter each ftp individually in browser i can see the pics, ok, but csvi cannot retrieve the images, see attached log file (i have replaced the username/password fields but if you want them for test purposes you may pm me)

Thanks in advance! Using latest Beta 6

Rgrds,
Chris
Accepted Answer Pending Moderation
Hello Chris,

There is something odd with the file_url field, see this:
Process remote file: ftp://username:password@h2373017.stratoserver.net/16_0.jpg|ftp://username:password@h2373017.stratoserver.net/16_1.jpg|ftp://username:password@h2373017.stratoserver.net/16_2.jpg|ftp://username:password@h2373017.stratoserver.net/16_3.jpg
notice that the images are not split and is read as one long one.

If you could send me the real file via email or PM I would appreciate it, I will check what is going on. I never used URLs like this with CSVI, so it may need some tweaking.
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. # 1
Accepted Answer Pending Moderation
Great Roland, just sent to your email.

Rgrds,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hey Chris,

I received the file and had a look but I see that going the FTP route it simply doesn't work in the current setup. I will take a look at implementing FTP support but this is not a 5-minute job ;)

Since I will be out for Joomla Day France today it will be sometime next week when I will have something ready.
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. # 3
Accepted Answer Pending Moderation
Thanks Roland,

It's ok, the important thing here is that you can do smth about it anyway :)

Looking forward and enjoy Joomla Day today!

Rgrds,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hi Roland,

Just a reminder for when you get some time ;)

Rgrds,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hello Chris,

Thanks, it's definitely not forgotten, still sitting in my inbox :)
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. # 6
Accepted Answer Pending Moderation
Glad to hear that at least ;)

Rgrds,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Hey Chris,

I have sent you an email with a patch file.
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. # 8
Accepted Answer Pending Moderation
Hi Roland,

Thanks for the patch! tried again same file but it still cannot recognise the image urls, see attached the log. See also attached the image tab setting for the template.

Rgrds,
Chris
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
Hello Chris,

Actually it worked and it wasn't working. It works with a single image but not with multiple images and the option to create image names.

Attached is an updated patch, give it a try and let me know. This worked for me with multiple images.
Attachments (1)
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. # 10
Accepted Answer Pending Moderation
Great Roland, just gave it a try and it works! :cheer:

Noted the following:

- The "Location product files" is not working properly it seems. I tried images/stories/virtuemart/product/RDX and it just copies the files in images/stories/virtuemart/product folder. I also tried images/stories/virtuemart/product/RDX/ but the images are not imported, i can see the following when going in product edit page in vm3 backend for example:

vmError: Couldnt create thumb, file not found /home/qttest/public_html/images/stories/virtuemart/product/ftp://haendlerzugang:RDX_haendlerzugang@http://h2373017.stratoserver.net/16_0.jpg

- CSVI created its own resized imgs folder name RDXresized in /images/stories/virtuemart/product folder. Can we instruct the proper path of the resized images to csvi? Just like the "Location product files", e.g. ""Location product files thumbs"

Rgrds,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
Hello Chris,

Can you post me your debug log?
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. # 12
Accepted Answer Pending Moderation
Hi Roland,

Did some more tests, my error during import, the correct path is ofcourse with slash at the end: images/stories/virtuemart/product/RDX/

Everything is working fine :)

One suggestion though which would appreciate if you can consider: add prefix for thumbnails, (e.g. th_ in our case)
At the moment CSVI names the normal size files and thumbs with the same name, which is not convenient for us; also, it is not the best thing to do for SEO, as the search engines see them as one file and not two different files as it is the case.

Rgrds,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 13
Accepted Answer Pending Moderation
Hello Chris,

also, it is not the best thing to do for SEO, as the search engines see them as one file and not two different files as it is the case.
That sounds pretty crazy as the files are in different locations. Will think about it.

For now you can specify the thumbnail names yourself by including the file_url_thumb field.
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. # 14
  • Page :
  • 1


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