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

Limit offsite linke images width

AndreaMarucci

Well-known member
#1
Since some users link big images in my board not using the attachment system, it's possible to limit the width of such images so they stay in a fixed width (soppose 640 pixels). If a user click on the image he can see the image in big size. I've limited the max width of the attached images to 640 pixel and I would like to do the same for offsite images...

thanks
 

Brogan

XenForo moderator
Staff member
#2
Add this to EXTRA.css
Code:
.bbCodeImage {
max-width: 640px;
}

If you want to prevent larger images being displayed in their full size when clicked, add this to EXTRA.css aswell
Code:
.bbCodeImageFullSize {
max-width: 640px;
}