News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Display images from external server

Started by spyderwebdesign, March 12, 2012, 16:39:47 PM

Previous topic - Next topic

spyderwebdesign

My site using a datafeed to populate it's item list. The datafeed list the url of the image which is hosted on the manufacture's server. Virtuemart 2.0.3 seems to require that the image is hosted on the local server. We have over 3,000 products and I do not want to have to download each image one by one and then upload them. This will also be a nightmare for figuring out which images are new and have to be downloaded and upload.

How can I change virtuemart to allow for image paths to be http://www.externalserver.com/images/imagename.jpg

I prefer not to change core code, but if this is my only option then I have no choice.


Aerse

The solution provided at http://forum.virtuemart.net/index.php?topic=99225.msg327903#msg327903 doesnt't cover situation when one product has multiple images. Also every image should have thumbnail.

There is already existing functionality under "Product Images" tab.

Please add support for external images there. How it could be look like:

  • Add another option under "Image Action" radio buttons groups: "External"
  • When "External" option selected:
  • Upload file hides, two inputs show. First input: "External URL", second input "External URL thumbnail (optional)"
  • After click "Save" "Used url" and "Used thumb url" show external URLs
  • Thumbnail autoresizing won't executed if "Used url" starts with "http://" or "https://"