I would like to change the images of the Products in Magento2 but since I am new to magento I don't know in which file I should put my images.

Is there a php file to edit or directory where I can put my photos.

Thank you for your answers

  • 2
    You can change images from admin catalog > Product edit any product and you can change/upload image.
    – Pawan
    Commented Feb 5, 2021 at 8:36

1 Answer 1


You need to read more about the view.xml file. Where you can resize the image. Example

  • Thank you, I will read it and I will come back to you
    – FUSS93
    Commented Feb 5, 2021 at 13:00
  • I read view.xml but I need to know how to change them directly in the server to which folder I need to go?
    – FUSS93
    Commented Feb 5, 2021 at 14:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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