cancel
Showing results for 
Search instead for 
Did you mean: 

Modify images urls in products

Modify images urls in products

I need to modify the urls of images in 1737 products. At the begin the "/" is missing.

I export products in csv, i modify the urls and then i try to upload it again. But the issue there is that magento try to find the images in var/import/images/

 

How can i change this urls without uploading images?

4 REPLIES 4

Re: Modify images urls in products

any suggestion?

Re: Modify images urls in products

@pantelisgr 

You can do so by creating the root script.

Get a collection of all the products in the root script and once you get the URL, you can add '/' in the starting URL.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Modify images urls in products

Get a collection of all the products in the root script and once you get the PupilPath URL, you can add '/' in the starting URL. 

Re: Modify images urls in products

i get all the products in csv, i modified the urls that i want to, is the half products of site, and nowi have the csv file. What you mean root script?