Connecting Tech Pros Worldwide Forums | Help | Site Map

Picture resize

Newbie
 
Join Date: Nov 2008
Posts: 11
#1: Nov 6 '08
hi, please i need to get my pictures automatically resized when i upload them, the resize shoild happen before it saves a copy to the image folder

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Nov 6 '08

re: Picture resize


Which version of Coldfusion are you using? If you're using CF8, you can use cfimage tag.

Alternatively, you could just store the full image and then set the height/width properties in the HTML code when displaying the image.
Newbie
 
Join Date: Nov 2008
Posts: 11
#3: Nov 11 '08

re: Picture resize


am grateful!, never had enough time to go thru the documentation
thanks
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#4: Nov 11 '08

re: Picture resize


No problem, you're welcome. If you are using CF8, the documentation provides some simple examples to get you started.
Reply


Similar ColdFusion bytes