Skip to main content
Inspiring
September 14, 2012
Question

Resizing images automatically with Browse button

  • September 14, 2012
  • 1 reply
  • 923 views

Hi,

   I have created a Blog page on our site and am setting up a page for anyone in the company to update the blog with some text and an image. What I would like to do is resize the image automatically to what I want it to be with the pixel size and file size. I found a web site that does this, but I would like to have this code on my own web site. Here it is:


http://www.resizemypicture.com/

    Does anyone know how to set up code so when the Browse button is clicked that it will resize the image automatically to what I want it to be with the pixel size and file size? I’m thinking having it be 120 pixels wide by 86 pixels high at 4K file size. It would be like Facebook when you upload a large file image, but it re-sizes it automatically. Is there some code out there I could use? Or would we have to purchase that? Is it hard to set up? Thanks.

Andy

    This topic has been closed for replies.

    1 reply

    Inspiring
    September 14, 2012

    Pirula08,

        Thank you. I'll look at these links and see if I can get it to work.

    Andy

    Inspiring
    September 15, 2012

    simply trigger <cffunction containing <cfimage  action = "resize".... on button click (submit button or click here to resize button not browse button as you suggested). you should be able to sort it out using those tags.