problem description
cannot find a method to dynamically obtain the width and height of the original picture
the environmental background of the problems and what methods you have tried
if the original picture is small, img will follow the size of the original picture, and if the picture is too large, the img will be reduced to the specified width and height
it won"t work in the way of ordinary html