What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Auto Resize Not What I Thought It Was

Discussion in 'XenGallery' started by dknife, Sep 9, 2014.

  1. dknife

    dknife YakTribe Gaming Authorized

    I've set the limit for members to 1Mb and unlimited resolution however if a member tries to upload a jpg image > 1Mb they receive a File Too Large error but a file under 1Mb uploads fine. My own permissions are set to default maximum (16Mb) and those same images upload fine at full resolution. The Flash uploader is turned on as well.

    So I realized that the auto resize function only works on resolution and not file size, which isn't really what I was looking for. If I disable original concept, will it then automatically resize anything thrown at it to the 3 settings provided?
     
  2. dknife

    dknife YakTribe Gaming Authorized

    Setting 2048, disabling original concept (i'm not a site dedicated to high resolution original images) and autoresize seems to work ok. Though I took a 1.5Mb jpg at 2500x1600 and it uploaded after resizing. I then downloaded it and it was 1.8Mb at 2048x1280. I'm assuming different jpg compression level.
     
  3. sonnb

    sonnb Administrator Staff Member

    Hello,

    Yes it works for resolution only. In case of file size, if the limitation is 1MB, the file size is 8MB, you are unable to know how to resize it to 1MB or below. Original files are being used for downloading, rebuilding and EXIF only. By disable it, photos still be resized.

    Yes, by default XenGallery use the maximum compression level which is 10. Configurable option is not available yet.
     
  4. snoopy5

    snoopy5 Authorized Member Authorized

    Is the description above still valid for XenGallery version 2.6.5?
     
  5. sonnb

    sonnb Administrator Staff Member

    Yes of course.
     
  6. snoopy5

    snoopy5 Authorized Member Authorized

    Thanks for the info.

    I then would add for a suggestion list for new features/to-do list, that it shall be possible in a future version of XenGallery to change in ACP the following settings for auto-resize:

    1. Pixel
    2. KB
    3. Compession level (probably in interaction with #1&#2)

    To make that realistic, there should be a threshold at which no autoresize will be done anymore. I.E. if the file size is bigger than 2MB or bigger than Pixelsize xxxx by yyyy.

    Important with this are different customizeable error messages. For two scenarios:

    A. Autoresize can not be done because the file size in Pixel and/or KB are way over the allowed size (put your numbers from ACP here in)

    B. Another info-message for the user if the autoresize takes place and why ("because the size in pixel and/or KB exceeds the maximum allowed size of ....")

    There needs to a be a transparancy for the user, why his images are neglected or changed in quality.

    If in a photography centric community, the users know afterwards what to optimize to achieve the best image quality in their gallery, they are more motivated to participate and upload more photos.
     
  7. sonnb

    sonnb Administrator Staff Member

    Do you mind post this into a separated thread in the suggestion forum?
     

Share This Page