While we’re at it, posting the width of pictures is a bit confusing.
“width=500” does not have to be in quotes. I notice that you’re now posting “width=50%” , which seems new and depends on the width of each picture, right?
Using "50%" or 90% avoids that by tailoring your image to every screen. It does not "depend on" the picture's width; rather, it fits the picture to the viewers' screens.