cancel
Showing results for 
Search instead for 
Did you mean: 

How to add other server image path to Magento 2.3.3?

How to add other server image path to Magento 2.3.3?

My magento 1.9 website currently live, after migrated magento 1.9 to 2.3.3 how can i link my magento 1.9 image server to magento 2.3.3?

18 REPLIES 18

Re: How to add other server image path to Magento 2.3.3?

@Aveeva from your admin panel, go to Stores->Configuration->Web

 

There you will find the option for "Base URL for User Media Files" in Base Url (Secure) and Base Urls.

Just fill the path of other server media folder here and flush your cache and check the results in frontend.

 

Thanks!

Re: How to add other server image path to Magento 2.3.3?

Hello @Aveeva 

 

I have given some steps that you can follow to fulfill your requirements. And not only that, the below steps allows migrating the product images as well which you are going to require as you are migrating the store.

Hence, follow the steps to complete two tasks in one go:

  1. Go to M1_root_directory/media/catalog/
  2. Create zip exclude product/cache folder
  3. Move zip file to the M1 root directory
  4. Transfer zip file to M2 server
  5. After transfer zip, move zip folder to pub/media/catalog
  6. Extract zip file in the catalog folder
  7. Run bin/magento catalog:images:resize

Moreover,

For exclude folder https://superuser.com/a/312302/433868

To transfer file use ssh wget command

 

The solution posted by @Rahul Gupta is also an alternative.

 

Hope it helps.

 

 

 
---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"

Re: How to add other server image path to Magento 2.3.3?

Hello @Aveeva 

 

You just need to copy Magento 1 media folder to pub/media of Magento 2.

 

Then run the image resize command

 

php bin/magento catalog:images:resize

 

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: How to add other server image path to Magento 2.3.3?

@theMageComp  May i know why i need to run image resize ? Thanks

Re: How to add other server image path to Magento 2.3.3?

@Aveeva if you want to add the path of M1 server then you can follow the steps as suggested by @theMageComp and @Meetanshi but if you are using CDN ans Stack path for saving images on another server then you can go for the option suggested by me.

 

Thanks

Re: How to add other server image path to Magento 2.3.3?

@Aveeva Sometimes when you upload images to the server, they doesn't show on frontend for the first time.

 

So not getting this issue we use this command and it works as per you have done the settings in your theme.

 

Thanks

Re: How to add other server image path to Magento 2.3.3?

Hello @Aveeva 

@Rahul Gupta already replied for your query.

It's because only copying the images, images won't start showing in frontend.

You need to run the image resize command, it will resize the images for your custom theme and set in cache for you to load the images then.

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: How to add other server image path to Magento 2.3.3?

@Rahul Gupta  @theMageComp  @Meetanshi  How to add other server images permanently, we maintain separate server for  images. Here how can i add my magento 1.9 image to magento 2.3.3.

 

Note : I am not looking copy and move, I just want my magento 2.3.3 take images form other server.

Re: How to add other server image path to Magento 2.3.3?

@Aveeva if you want to use the images from another server then you can go for the option suggested by me.

 

You can save that server path in the admin panel.

Please check my first reply.

 

Thanks!