> ... using both destination and name.
> Apparently you can not use them both you have to choose one.
It works on windows. Though you probably would not use both. Not unless you
actually need to save the image to a file _and_ a variable.
<cfset basePath = ExpandPath("/mysite.com") />
<cfset TempFileName = "someImage.jpg" />
<cfimage
action = "resize"
height = ""
source = "#basePath#\#TempFileName#"
width = "200"
destination="c:\doesThisWork.jpg"
name = "resizedImage"
format = "jpg"
overwrite = "yes">
<cfimage action="writeToBrowser" source="#resizedImage#">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329392
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4