0

Magento 2, How to load all product images from external url in front end and backend

2
  • do you mean to change the base URL of images? – Bilal Usean Jun 21 at 12:11
  • Yes need to change base , small and thumbnail – kanidhaya Jun 21 at 13:21
0

We can change the media base URL from the below configuration.

Stores > Settings > Configuration > General > Web > Base URLs > Base URL for User Media Files

Stores > Settings > Configuration > General > Web > Base URLs (Secure) > Base URL for User Media Files

e.g)

If we set Base URL for User Media Files is https://www.example.com/ all the media images will be using the https://www.example.com/ as the base URL.

We mainly used the above configuration to use CDN for media.

1
  • No i need the external url for product images intead of images and videos attribute it will show another server – kanidhaya Jun 21 at 14:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.