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

XF 1.2 Picture covering post content when enlarged

Discussion in 'Styling and Customization Questions' started by touch, Aug 14, 2013.

  1. touch

    touch Member

    I just move to xenforo and my forum member love it . But I just found out something and I don't know how to fix it. many of the image in my forum post covering the post content when its clicked to enlarge.. here is the screenshoot

    Before the image clicked


    After the image clicked
    Could you guys help me how to solved it ?

    sry for my bad english
  2. Jeremy

    Jeremy Well-Known Member

    This is designed behavior. Click it again and it will shrink.
    Amaury likes this.
  3. touch

    touch Member

    I see ..
    is there a way so it would not covering the text when it clicked/enlarge ?
  4. Amaury

    Amaury Well-Known Member

    Not without a resource, I would guess.
  5. touch

    touch Member

    I keep thinking this is a matter of css style but I dunno how since I dont know anything about coding etc :X3:

    then I found this while searching again with different keyword http://xenforo.com/community/threads/define-image-from-url-size.53360/ then I put this code to extra.css

    .bbCodeImage {
    max-width: 900px !important;
    max-height: 700px !important;
    So far this look like solve my problem.. I need your opinion about this just in case I put the wrong code since I dont know anything about coding :)
  6. JulianD

    JulianD Well-Known Member

    It might work for that precise image, but I'm not sure if it will work with images of different dimensions. Try it with more images and see if it works.

Share This Page