Change in how attachments are handled

Discussion in 'Forum Announcements and Feedback' started by Daniel Mosquin, Aug 22, 2007.

  1. Daniel Mosquin

    Daniel Mosquin Paragon of Plants UBC Botanical Garden Forums Administrator Forums Moderator 10 Years

    Messages:
    10,597
    Likes Received:
    642
    Location:
    Vancouver, British Columbia, Canada
    I've enabled automatic resizing of attachments so that an attachment exceeding 1200px in width or height will be resized downwards by the web server to a maximum of 1200px on its largest side. For those folks who are getting frustrated with opening up thumbnails to see supersized images, this should help.

    Unfortunately, because the image size reprocessing causes a heavy server load, the maximum amount of images that can be uploaded at any one time has been reduced from 5 to 1. Note - this doesn't have any effect on the number of images that can be attached to any one single post, it just means a slightly different workflow to do it.

    Instead of find file 1, find file 2, find file 3, find file 4, find file 5 -> upload, the cycle will now be find file 1 -> upload, find file 2 -> upload, find file 3 -> upload, find file 4 -> upload, find file 5 -> upload.

    See a movie demonstration of how to attach multiple images.
     
    Last edited: Aug 22, 2007
  2. Michael F

    Michael F Paragon of Plants Forums Moderator 10 Years

    Messages:
    11,486
    Likes Received:
    527
    Location:
    Britain zone 8/9
    Nice idea, tho' there's still some pics that open huge, twice the width of my screen (or does it only apply to pics uploaded since the change?). Would it be possible (eventually, if not now?) to make the display size user-selectable?
     
  3. Daniel Mosquin

    Daniel Mosquin Paragon of Plants UBC Botanical Garden Forums Administrator Forums Moderator 10 Years

    Messages:
    10,597
    Likes Received:
    642
    Location:
    Vancouver, British Columbia, Canada
    It will only apply to photographs uploaded since the change.

    As for resizing the photographs to screen-size - my advice is to use the Firefox browser, as images are first shown scaled down to fit the browser window, and can be clicked on to expand (providing browser image resizing is set to the default value, which is on)
     
  4. Daniel Mosquin

    Daniel Mosquin Paragon of Plants UBC Botanical Garden Forums Administrator Forums Moderator 10 Years

    Messages:
    10,597
    Likes Received:
    642
    Location:
    Vancouver, British Columbia, Canada
    Ah, and for making the display size user-selectable - I'm not aware of any hacks that would do this. It'd be either very server-intensive or storage-intensive though. If one were to keep the large size image in the database and resize that "on the fly" to a user-selectable option, that'd require a fair bit of processing power each time an attachment is opened. If one were to keep different sizes of images in the database, instead, that'd chew up a fair bit of diskspace.
     
  5. Michael F

    Michael F Paragon of Plants Forums Moderator 10 Years

    Messages:
    11,486
    Likes Received:
    527
    Location:
    Britain zone 8/9
    Thanks!

    The pic that was too huge was a pre-change one, so I'll not worry about it.
     

Share This Page