[thelist] Dynamic Image resizing on coldfusion

Emmet McGovern webmaster at beachin.net
Wed Feb 27 14:24:01 CST 2002


Does anyone know of a better solution for resizing than CFX_GIFGD, or maybe
a better way to optimize the quality of the resized image using coldfusion.


Currently I use this snippet and it works fine, but the thumbnail quality
leaves much to desire.

<CFX_GIFGD ACTION="READ"
				 FILE="#ExpandPath('.\#image#')#">

				<CFIF #IMG_WIDTH# GT "150">

				<CFX_GIFGD ACTION="RESIZE"
	             FILE="#ExpandPath('.\image#')#"
	             OUTPUT="#ExpandPath('.\#image#')#"
				 X="150">


Emmet



More information about the thelist mailing list