• 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


Well-known member
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...



XenForo moderator
Staff member
Add this to EXTRA.css
.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
.bbCodeImageFullSize {
max-width: 640px;