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

Thumbnail Recalculation

Attachment Thumbnails recalculated

  1. MattW

    MattW Well-Known Member

    MattW submitted a new resource:

    Thumbnail Recalculation - Attachment Thumbnails recalculated

    Read more about this resource...
     
  2. MattW

    MattW Well-Known Member

    PyroM likes this.
  3. Steverd

    Steverd Member

    Very nice and I know what you mean. It would be great if XF did what Wordpress does in that you can insert your thumbnail in a small, med or large size.
     
    MattW likes this.
  4. tonmo

    tonmo Active Member

  5. MattW

    MattW Well-Known Member

    I think this has been changed in a recent update to XF. The code was originally in attached_files.css

    This is what is there now
    Code:
    .attachment
            {
                float: left;
                width: 50%;
                max-width: 300px;
            }
    I haven't checked everything though, because I'm on my iPad. I'll have a look at the code on my site later today.
     
    tonmo likes this.
  6. MattW

    MattW Well-Known Member

    Just checked, and it's using that code above now.
     
    tonmo likes this.
  7. tonmo

    tonmo Active Member

    excellent - thanks!
     
  8. tonmo

    tonmo Active Member

    Hmm. Suggestions for making this work, though? If I change the width to 25% it successfully gets four photos on one line, but the support text to the right (which denote # of views, filename, etc.) gets squeezed and only ~2 characters display, rendering it illegible. How hard would it be to move the text so that it's below the thumbnail image, instead of to the right of it?
     
  9. tonmo

    tonmo Active Member

    nevermind... this ended up being a good treatment for me:

    Code:
            .attachment
            {
                float: left;
                width: 50%;
                max-width: 280px;
            }
            
    (y)
     
  10. EvilSS

    EvilSS Member

    thank you so much for this. now i can extend my media players width.

    i have set to 100%, will this effect say iphone etc please?
     

Share This Page