- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Referencing public image url as Product image in magento 2.0
Hi,
I am able to send products on magento using rest api but I would like to send images as well.
Previously I was sending blobs but it was to bulky to handle in JSON.
So is there any way to just send a public image url using rest call which will associate that image to product.
Details
Image : Is publicly hosted on aws s3
Callout : Doing rest call from saleforce
Goal : want to associate that public url as a small_image of product.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Referencing public image url as Product image in magento 2.0
Hi @AKum,
I think you can't do that out-fo-the-box but maybe you can try extending the product endpoint to handle the request in that way. Then, inside Magento, you could try to fetch the remote image.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Referencing public image url as Product image in magento 2.0
Hi AKum,
Maybe this will help you:
http://magento.stackexchange.com/questions/105677/getting-a-custom-attribute-image
We are doing a similar customization for a client now but, in our case, URLs to the images are kept in a separate table referenced to each product by SKU, not as attributes so we have to do a custom solution for that client.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content