• 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

rwm1962

Active member
#7
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.
 
#8
BTW, if you need to add padding so the border isn't against the image, you can do this:

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