VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: sujit on March 01, 2013, 10:23:39 AM

Title: Importing product image from external URL(Like URL option in VM1.1)
Post by: sujit on March 01, 2013, 10:23:39 AM
Hi,

I have
Joomla 1.5.22
Virtuemart 2.0.18a
PHP 5.3.13

I need an URL option under product images tab like the one we had in VM 1.1 that imports product image from external URL.
I tried tweaking the code but hard luck I didn't make it.

Thanks in advance !

Sujit
Title: Re: Importing product image from external URL(Like URL option in VM1.1)
Post by: sujit on March 06, 2013, 15:41:02 PM
Hello there,

Let me put more light to it. In my earlier version of VM (VM1) all the image are stored to other  resourse that why we have used URL in product image tab. But now when we upgrade the version to VM2 and try to migrate the database, VM is populated with all the products but not images. I tried many time to migrate it but with no luck.

Can any body help me how to get all the images from my earlier version to new version.

Thanks in advance.
Title: Re: Importing product image from external URL(Like URL option in VM1.1)
Post by: PRO on March 06, 2013, 21:31:44 PM
to use external images from another site?
http://forum.virtuemart.net/index.php?topic=99225.msg327903#msg327903



if you want to migrate the images that are in a different folder,r than thats a different way
Title: Re: Importing product image from external URL(Like URL option in VM1.1)
Post by: sujit on March 07, 2013, 08:21:07 AM
Hello,

I appreciate you reply but it seems you might have misunderstood my problem. I was concern about product images not being migrated to new version of VM. Attached image will give you clear picture on my problem.

Please reply what should i do to get all my image appear on VM frontend. I prefer to use URL option only which avoid my server space to be filled up with those images. If this option in not possible what will be the next best option.

Thanks in advance.

[attachment cleanup by admin]
Title: Re: Importing product image from external URL(Like URL option in VM1.1)
Post by: sujit on March 08, 2013, 16:08:26 PM
Do anyone find any solution for this. As I'm eagerly wait. Any help is highly appreciated.

Thanks
Title: Re: Importing product image from external URL(Like URL option in VM1.1)
Post by: Milbo on March 08, 2013, 22:40:16 PM
You can use URLS, you must enter int manually into the db with http at begin imho, then it is read as url
Title: Re: Importing product image from external URL(Like URL option in VM1.1)
Post by: sujit on March 11, 2013, 06:54:24 AM
Thanks for your reply But sorry I didn't understand what I need to enter manually. Just to inform I have 10,000+ product in my site.
Can you please explain what steps I need to follow while migration.

Thank you.
Title: Re: Importing product image from external URL(Like URL option in VM1.1)
Post by: sujit on March 12, 2013, 16:54:31 PM
Any update???
Title: Re: Importing product image from external URL(Like URL option in VM1.1)
Post by: PRO on March 14, 2013, 23:02:50 PM
if you use
www.csvimproved.com

then you can set the product image & thumb image url while importing
Title: Re: Importing product image from external URL(Like URL option in VM1.1)
Post by: ibd2004 on May 07, 2013, 22:14:36 PM
Hello,
I am searching for solution to this problem for a week now, search every were but cant get
it to work.

All i need is to be able to insert a url image link on remote server, same for tumb field and to sabe it.

But the fields keep being save empty,

It worked great in VM1

Please help if you can, my site is ready and i cant go live until i get it right.

Thank you
Title: Re: Importing product image from external URL(Like URL option in VM1.1)
Post by: getpresto on June 23, 2013, 23:37:22 PM
Hello, I was curious if anyone has found an answer on this as we are having the same trouble.  I have attempted to manually insert an external URL as Milbo and others have suggested, but the image is not loading.  I tested the link through Chrome and this is the broken value that it is trying to get:

http://localhost/mywebsite.com/components/com_virtuemart/assets/images/vmgeneral/filetype_jpg.png

The value I have updated is in the table "abc_virtuemart_medias " and is formatted with the full address:

file_url =  http://www.another-website.com/images/my-image.jpg

Any ideas on why this is not functioning for me? 

PS...Thank you for your great component and any help is much appreciated.
Title: Re: Importing product image from external URL(Like URL option in VM1.1)
Post by: PRO on July 03, 2013, 05:03:22 AM
Quote from: getpresto on June 23, 2013, 23:37:22 PM
Hello, I was curious if anyone has found an answer on this as we are having the same trouble.  I have attempted to manually insert an external URL as Milbo and others have suggested, but the image is not loading.  I tested the link through Chrome and this is the broken value that it is trying to get:

http://localhost/mywebsite.com/components/com_virtuemart/assets/images/vmgeneral/filetype_jpg.png

The value I have updated is in the table "abc_virtuemart_medias " and is formatted with the full address:

file_url =  http://www.another-website.com/images/my-image.jpg

Any ideas on why this is not functioning for me? 

PS...Thank you for your great component and any help is much appreciated.

sounds like you need to actually build the img src=""
with the image url
https://forum.virtuemart.net/index.php?topic=91870.msg301887#msg301887
http://forum.virtuemart.net/index.php?topic=90935.0
http://forum.virtuemart.net/index.php?topic=97744.0