+ 3

Pls what can i do about the size of the image, i want to make it smaller

<html> <head> <title>first page</title> </head> <body> <a href="https://ibb.co/9cLhcHd"><img src="https://i.ibb.co/Jm4qmjS/20200626-214919.jpg" alt="20200626-214919" border="0"></a> /> </body> </html>

4th Jul 2020, 11:18 AM
Christabel Amade(Ace)
Christabel Amade(Ace) - avatar
10 Respuestas
+ 7
<html> <head> <title>first page</title> </head> <body> <a href="https://ibb.co/9cLhcHd"><img src="https://i.ibb.co/Jm4qmjS/20200626-214919.jpg" alt="20200626-214919" width=150px height=150px border="0"></a> </body> </html>
4th Jul 2020, 11:29 AM
Arctic Fox
Arctic Fox - avatar
+ 5
You should first of all remove the <a> tag and set the height and width through css or use attribute. Like so <img src="https://i.bb.co/Jm4qmjS/20200626-214919.jpg" height="100px" width="100px"/>
4th Jul 2020, 11:32 AM
Precious Brohie
Precious Brohie - avatar
+ 4
Hey you can set the width and/or height by using CSS rules. Here I use % (percentage) but I guess you can use other measurements as well. img { width: 50%; height: 50%; } Is that your work? nice little penguin there 👌
4th Jul 2020, 11:26 AM
Ipang
+ 3
For image resize, just use css to set the width size you want. And ALWAYS set height to auto, if you set height to a value, the dimension of the image likely not in correct ratio, except you know the respect ratio of the image, and calculate the height based on it.
4th Jul 2020, 12:04 PM
Calviղ
Calviղ - avatar
4th Jul 2020, 12:14 PM
Calviղ
Calviղ - avatar
+ 3
Tnx
4th Jul 2020, 12:19 PM
Christabel Amade(Ace)
Christabel Amade(Ace) - avatar
+ 3
Set the height and width global attributes. That's it.
6th Jul 2020, 7:36 AM
Deeproshan Kumar
+ 2
Tnx
4th Jul 2020, 11:30 AM
Christabel Amade(Ace)
Christabel Amade(Ace) - avatar
+ 2
Add CSS part with width and height of object)
6th Jul 2020, 7:17 AM
Matvey Anoshin
Matvey Anoshin - avatar