Tribute Page: How can i solve the error?

Hey guys, this is my first project and i am having difficulty with sizing the image responsively with respect to its parent element. I am very confused on this image sizing part?! Can i get some tips on solving this error? Would appreciate pointing out other mistakes in there too.

The project:

Images are inline elements, therefore if you want to adjust the width and height relative to the parent container, make the display property block. I have also noticed you have applied display: flex on the image instead of applying it on parent container.

Thanks, i changed it and it works now!
Sorry BTW, i didnt knew that the test suite tells what the mistake is, saw it now!