0

Why won't this image change to my desired 700x300 pixels?

<img src="https://www.industrialempathy.com/img/remote/ZiClJf-1920w.jpg700x300" border="15"> Trying to get the image to 700x300 pixels, it won't load unless I take out the pixel count

30th Dec 2021, 10:25 PM
Schneur Sanowicz
3 Respostas
+ 5
You need to use the width and height attributes in the img tag <img src="image.jpg" width="700" height="300"/> I hope this helps :)
30th Dec 2021, 10:31 PM
Apollo-Roboto
Apollo-Roboto - avatar
+ 1
I don't think so. But never change the source URL. The resulting file hopefully doesn't exist.
31st Dec 2021, 1:38 AM
Emerson Prado
Emerson Prado - avatar
0
Thanks it worked is there anyway to write the code "700x300" without writing the height and width?
30th Dec 2021, 10:45 PM
Schneur Sanowicz