The implementation of BBCode seems incomplete or non-standard. I tried a few ways to re-size linked images and nothing worked.
https://www.bbcode.org/examples/?id=10
Example:
Standard image
(https://www.bbcode.org/images/lubeck_small.jpg)
Resizing the image
[img=100x50]https://www.bbcode.org/images/lubeck_small.jpg[/img]
Making the image clickable (in this case linking to the original image)
(https://www.bbcode.org/images/lubeck_small.jpg) (https://www.bbcode.org/images/lubeck.jpg)
Resizing and adding meta information for the image
(https://www.bbcode.org/images/lubeck_small.jpg)
The clickable function works, but not resizing and alt description.
I'm looking into it.
Alright, so apparently SMF doesn't like quotes for the height and width attributes. If you omit the quotes, you're fine. I'm afraid I can't do much more, as I have already checked if perchance either the native settings or the CSS had bounds on image size/resizing (they don't).
Interesting. So:
[img height=150]https://www.bbcode.org/images/lubeck_small.jpg[/img]
makes:
(https://www.bbcode.org/images/lubeck_small.jpg)
Thanks!
Quote from: Sevastáin Pinátsch on December 04, 2019, 06:07:27 PM
[img height=150]https://www.bbcode.org/images/lubeck_small.jpg[/img]
Wow. Maybe it's just my cheap monitor or my old eyeballs but I have a hard time reading text in that code.
Lemme try it again:
If you can read this you're not nearly as cheap or blind as I am.
I see a very faint light grey on white.
Indeed, and incidentally, thanks for trying functionalities out, so that I can see if they work properly.
Quotes and code blocks should now be much more readable on the dark theme. The light theme was already mostly fine.
Quote from: Lüc on December 05, 2019, 05:33:38 AM
Indeed, and incidentally, thanks for trying functionalities out, so that I can see if they work properly.
Quotes and code blocks should now be much more readable on the dark theme. The light theme was already mostly fine.
Thanks! Code blocks on dark theme look great now.