VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: gabian_99 on June 21, 2012, 18:03:19 PM

Title: Is it possible to have a web server repository for the images in VirtueMart 2
Post by: gabian_99 on June 21, 2012, 18:03:19 PM
Hi All,
I will migrate some website from VM1 to VM2.
This websites that will be sharing the same products, with VM1 the images of products was on a web server and are avaiable to an url.
I try the same with VM2 but have this error: vmError: Couldnt resolve mime http://www.xxxxxxxxxx.com/images/products/xxxxxx.jpg
There is a workaroud to resolve this error?


Title: Re: Is it possible to have a web server repository for the images in VirtueMart 2
Post by: jjk on June 21, 2012, 22:24:09 PM
Maybe you have a similar problem like described here (might be related to a server configuration):
http://forum.virtuemart.net/index.php?topic=96517.msg331827#msg331827
Title: Re: Is it possible to have a web server repository for the images in VirtueMart 2
Post by: gabian_99 on June 22, 2012, 12:57:16 PM
Thank's  :) with that link I resolve part of the problem. Now i can upload the full image but not the thumb.
I write the full image url and the thumb image url but when save and close virtuemart media lose the thumb image url.
Title: Re: Is it possible to have a web server repository for the images in VirtueMart 2
Post by: jjk on June 22, 2012, 15:15:14 PM
Provided that you "synchronize media" using VM2 Configuration - Tools, you should be able to type the first letters of the filename into the image search filter on top of the screen and then select it from the list of images. Don't forget to click on "Save" afterwards.

If this doesn't help, maybe have a look here: http://forum.virtuemart.net/index.php?topic=93019.msg339118#msg339118 (http://forum.virtuemart.net/index.php?topic=93019.msg339118#msg339118)
Title: Re: Is it possible to have a web server repository for the images in VirtueMart 2
Post by: gabian_99 on June 22, 2012, 15:54:46 PM
I try but both  the solution you provide don't work
in the first solution when I syncronize i have this message "File for /var/www/site/http://www.xxxxxxxxxx.com/images/products/xxxxxx.jpg is missing"
and with second solution have this error "vmError: Couldnt create thumb, file not found /var/www/site/images/stories/virtuemart/category/http://www.xxxxxxxxxx.com/images/products/xxxxxx.jpg"
I don't work with local image have more than 1 website and about 4000 products and 600 category per site i need to work with a centralized web storage.
Title: Re: Is it possible to have a web server repository for the images in VirtueMart 2
Post by: jjk on June 22, 2012, 16:14:17 PM
Sorry, I have no experience with this kind of image setup. Maybe one of these (old) post will provide a useful hint:
http://forum.virtuemart.net/index.php?topic=99463.msg328497#msg328497 (http://forum.virtuemart.net/index.php?topic=99463.msg328497#msg328497)
http://forum.virtuemart.net/index.php?topic=92253.msg303344#msg303344 (http://forum.virtuemart.net/index.php?topic=92253.msg303344#msg303344)
Title: Re: Is it possible to have a web server repository for the images in VirtueMart 2
Post by: gabian_99 on June 22, 2012, 17:56:31 PM
Thank's jjk i will take a look :)
I'm trying also another solution, fortunatly the repository server is inside our lan and i can mount on virtuemart category and product directory the storage image directory, seems to work.