cancel
Showing results for 
Search instead for 
Did you mean: 

Images from external sources

Images from external sources

Hello,

I need to import a large amount of products from other merchants (data stored in CVS files). Downloading the images from their website every time I update my database is a little bit too slow and I am thinking that I could make Magento display them from external sources without downloading. It's my first time using this platform and don't know where I need to do those customizations. So, could I display images from external links without effectively downloading them?

Thanks!

1 REPLY 1

Re: Images from external sources

Hi @LittleWho,

 

As you can imagine you won't be able to get that behavior out-of-the-box.

I guess I'll start checking the Magento\Catalog\Block\Product\ImageBuilder class (I guess) to change the source of the image.

I didn't tried with M2 yet but with M1 I've worked on the Image helper to do something similar.

The idea here should be to replace the exact moment when the URL is created.