I also use ImageCR and love its speed. I have a wedding photgrapher's sit that He uses an ftp package to upload all the Images of a wedding (he wanted it this way) With a naming convention of weddingname-1, weddingname-2, etc. To his events folder. He then goes into his admin area of the site And runs a page to add an event which means he adds the weddingname And a password for the event. When he submits the page it adds those Fields into his events page for username/password to allow people to View/purchase the pics, but it runs cfdirectory with a filter of the Weddingname and uses imageCR to create a thumbnail of each of the Files returned from the cfdirectory query.
Terry -----Original Message----- From: Burns, John D [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 9:19 AM To: CF-Talk Subject: Image resizing on the fly? I've been using ImageCR3 to do some image resizing and in the past I've used imagemagick and alagad's image component. I've always done it where I've done file resizing at the time of upload. However, I'm facing a situation of having to display an unknown amount of directories of photos that are being uploaded into folders via FTP. Rather than forcing someone to go fire off a page that goes out and does all the resizing, I'm wondering if it would be feasible to resize the images as needed. I'm not sure what the overhead would be on something like that. I've seen some .NET developers doing it with something called image.ashx where they call their images like <img src="image.ashx?file=/myfiles/photo1.jpg&width=600&height=40 0"> and it appears to just do the resizing everytime someone hits that image. I was thinking of writing a CFM that did the same thing by resizing the photo and pass it back to the browser using <cfcontent> but I wasn't sure if the overhead is too much. This isn't a large site and there won't be a ton of people hitting it at once, but even 2 or 3 people on there pulling up a page of 20-30 thumbnails with each image being resized on the fly sounds a little scary to me. I'm just looking for some more knowledge and expertise on the subject. Thanks! John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238685 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

