Skip to main content
Topic: images with border (Read 1570 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

images with border

Is there a way to show a 1px border around images attached in posts (with ILA addon)?

Re: images with border

Reply #1

I think that should be easy though I haven't tried.

Re: images with border

Reply #2

Something like this is working in a custom.css:

Code: [Select]
.bbc_img {
     border: 5px solid green;
     border-radius: 8px;
}

But than every inserted image in the post will get a border, also for example a little smiley from another server. Looks funny. ;)


Re: images with border

Reply #3

I'm not sure it's the best solution, I wanted to change the max-width of images inserted with attachimg code from ILA for Elkarte 1.0.x  and I did it directly on ILA.subs.php file. You can find an example here https://www.elkarte.net/community/index.php?topic=1450.msg19660#msg19660
In the same way you can add a border to inline images inserted with attachimg or attach bbcode
sorry for my bad english

Re: images with border

Reply #4

And that can even be extended to a more "enhanced" ILA css style setting, if its author wants.