Module That Reduces File Size of Uploaded Images?

Discussion in 'Programming' started by pcoulter, Feb 4, 2008.

  1. #1
    Hi,

    I'm currently developing a Real Estate website that doesn't have a feature that reduces the file size of uploaded images. So if someone uploads a gallery of 1mb images they take a long time to load.

    Does anyone know of a solution for this problem or have some sort of script or module that will take care of this problem?

    I'm willing to pay $$$ for a solution.

    Thanks,
    Paul
     
    pcoulter, Feb 4, 2008 IP
  2. ToddMicheau

    ToddMicheau Active Member

    Messages:
    183
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #2
    One solution would be to use a thumbnail script, so just little images are loaded and not the entire thing. I found a free one on google- http://www.zubrag.com/scripts/thumbnail-generator.php (I haven't tested it though).
    All the instructions to use it are on the page and this should speed the load time on your images.
     
    ToddMicheau, Feb 4, 2008 IP
  3. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, need to reduce the image sizes after they are uploaded but also consider limiting the file size of uploads too.

    There are many free scripts that will do both of these depending on your chosen programming language.
     
    AstarothSolutions, Feb 5, 2008 IP
  4. WeBcYtE

    WeBcYtE Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you are doing this in PHP, there are functions that enable you to resample the images and also re-encode the image to reduce the size. You need to have the GD library installed; alternatively you could use imagemagick which is a free command line image manipulation tool. It can be called from any script platform.
     
    WeBcYtE, Feb 6, 2008 IP