1 |
|
---|---|
Posted by | How to change image size |
Wren [he/him] 🏳️⚧️ (#245557) Sapphic View Forum Posts Posted on 2023-09-06 13:25:17 |
I don’t know how to change it, and I also don’t know what width and height to put it to to be small, rn it’s so big you have to scroll a few times to see it all. I can provide the image if asked thank you 0 players like this post! Like? Edited on 06/09/23 @ 13:28:59 by Wren [he/him] (#245557) |
Myriad [mostly frozen] (#76) View Forum Posts Posted on 2023-09-06 13:34:03 |
In most places it's easiest not to put a specific size, but to do the following: <img src="url here" class="fitWidth"> That will automatically make the image scale itself to the appropriate size for the box/forum/etc that it's in, and for the screen size of anyone viewing. So it will work and look good on mobile and other smaller screens, just as much as on desktop. Much more flexible than putting an exact size :) Or if that's not appropriate for the place you're trying to put the image, you can specify just the width (the height will then adjust automatically to stay in ratio): <img src="url here" width="300"> And just change the 300 to whatever number you want. Bear in mind this method will result in it looking different on different sized screens, so it may not work as well on mobile as on PC, or vice versa, depending on circumstances. 0 players like this post! Like? Edited on 06/09/23 @ 13:49:46 by Myriad (#76) |
1 |
---|