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

can the height of the photos be flexible ?

Discussion in 'Media Gallery Support' started by erich37, Nov 25, 2014.

  1. erich37

    erich37 Well-Known Member

    I am just wondering:

    currently, the image-size is set to 300px by 300px by default.


    Question:

    Could I set the width of the image to 300px and having the height of the image variable ?
    So that each image has a different height based on decreasing the image to a width of 300px ?


    Meaning:
    the photo-dimensions will not be "square", but rectangular.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    No, that isn't possible.

    You can have a different height for thumbnails (hence, portrait or landscape thumbnails) but it applies globally to all images.
     
  3. erich37

    erich37 Well-Known Member

    are you saying it would need the Masonry-script in order to make it possible ?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    That's the kind of effect you're describing and that's something that isn't included (nor planned currently). It would require code changes as well to produce thumbnails that aren't cropped and maintain the original aspect ratio. Basically, it would require an add-on and custom development.
     
  5. Joe Link

    Joe Link Well-Known Member

    Has anything changed in this regard? I'd really like to update the look of XFMG to something more modern to fit the rest of the site.
     

Share This Page