Can I add a thin border to a JPG image without resorting to a theme component? I want to keep this simple and avoid, for instance, this component:
I have tried every variation of the img tag that I can think of. The only thing that worked was to embed the image in a kbd tag, but that is a bit odd. This is really what I want to write:
<img src="upload://jIMXtLgb7enbLUiahXVT1Jz14n4.jpeg"
alt="photo showing derelict medium voltage power pole"
width="75%"
style="border: 1px solid gray">
custom CSS gets stripped out of posts because someone could do something like border: 1000px solid gray and make the whole topic unreadable
You need to add some CSS to a theme or a theme component to do this, no great way around it. You can make it optional on an image-by-image basis though.