Quick cfimage question:

Working on a gallery and wanting to create thumbs. No problem resizing.

Need to write the created thumb to a new directory. Looking at the CF 
docs - uhhh, the example leaves a little to be desired:

<cfimage source="../artgallery/jeff05.jpg"
          action="write"
          destination="jeff05.jpg">

The "destination" is just the image name in the example, so it would 
overwrite the original. Can the "destination" include a path as well?

          destination="../artgallery/thumbs/jeff05.jpg"

Is the path relative to the file the cfimage tag is located on, or 
relative to the original image location?

I thought about not even creating/saving the thumbs, but creating them 
on the fly. I'm a little concerned about server load to do such a thing 
though, especially if the gallery in mind might need 30 thumbs for al 
the images. Very bad idea, right?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318633
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to