• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Add border to all attached images


Active member
Another refinement required - can gifs be exluded?

To explain - on our theme regular images in posts look better with a border.
We have a lot of transparent gifs in articles & they look better without a border.
BTW, if you need to add padding so the border isn't against the image, you can do this:

.bbCodeImage {
    border:thin solid #333;
    padding: 8px;