News:

Support the VirtueMart project and become a member

Main Menu

Get/Load product images form other server (website)

Started by servlet, April 06, 2016, 10:00:32 AM

Previous topic - Next topic

servlet

Is it possible to load images form other site. There is no reason to download them and then upload them on my server.
What is the way?

regards
Он-лайн магазин за фототапети http://mishelfoster.com

servlet

Он-лайн магазин за фототапети http://mishelfoster.com

GJC Web Design

I guess fill in the url and use that in the template to get the images
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Difficulty is generating the thumbnails. Although you "can" link to and display an image from another site, you do need the physical image to create a thumbnail.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

servlet

Thumbnails and originals are from other server... They exist
I want to load them from mother site.
Is it possible to fill urls in database... where are stored links for images by default? I am using CSVI so there is no problem to fill anything but what?
Thank you
Он-лайн магазин за фототапети http://mishelfoster.com

Jumbo!

If you want to create direct database entries then you first need to make media entries at #__virtuemart_media. Next you will have to map medias with the products in #__virtuemart_product_medias. Check the table structures to get a clear idea.

kishoreonwork

Hello ,

The simplest way is to do it with htaccess redirect. You need to check the image if it is coming from virtuemart folder than redirect it to your server like this

RewriteRule ^images/stories/virtuemart/product/(.*)$ http://www.masterdomain.com/images/$1 [NC,P]

Thanks
Kishore

I am available for paid joomla and virtuemart consulting.
http://www.kishoreweblabs.com/
skype kishore2607