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

XF 1.4 Images in Posts

#1
Greetings

In the messages, in the case of very large images, when I press on the image is enlarged to normal size, leaving little unsightly.

I would like to know how to make that more aesthetic presentation, for example could be the image centered on a black background (just one example).

In worst case I would like to know how to disable that option and that the image fits only to the message box with no option to enlarge.

Thanks.

PD: Mejor aun si alguien sabe español.
 

Brogan

XenForo moderator
Staff member
#3
Add this to EXTRA.css:
Code:
.message .messageContent .messageText img {
max-width: 100% !important;
}
Adjust it to suit.
 
#4
Add this to EXTRA.css:
Code:
.message .messageContent .messageText img {
max-width: 100% !important;
}
Adjust it to suit.
Ok, thanks.

In addition, i would like to know how I could do that images can be opened in a new window by clicking on them.

Sorry for the inconvenience.