1. 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

Discussion in 'Styling and Customization Questions' started by Juan Sin Miedo, Sep 25, 2014.

  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.


    PD: Mejor aun si alguien sabe espaƱol.
  2. What can i do in this case?
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Add this to EXTRA.css:
    .message .messageContent .messageText img {
    max-width: 100% !important;
    Adjust it to suit.
  4. 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.

Share This Page