cancel
Showing results for 
Search instead for 
Did you mean: 

Renaming product images after import

Renaming product images after import

Hi,

 

Is there anyone that knows a way of renaming product images after import or at save, from the original to the product's url + .jpg? e.g. if the product url is black-backpack.html and the original name of the product image is backpack-b.jpg, then I would somehow like the image to be renamed black-backpack.jpg a.k.a. the url + .jpg

Since I am new to magento 2 programming I would appreciate to get step by step instructions on any solution that you would like to share.

 

I would really appreciate any comments and solutions to this issue.

 

/Sabina