Has anyone ever tried creating dynamic GIF's using ColdFusion? I would like to
do something like this: <cf_CreateBarGif' width='140' height='20' value='23'
scale='100'> This would create an image 140x200 with a bar 'thermometer' that
is at the 23% mark. Also, I'd like to put the text '23%' centered over the
created bar... So now, how to do......
leontova - 29 Nov 2004 16:33 GMT
Hi. You could also create a gif that is x-pixels high and 1 pixel wide. Then
use a regular <IMG SRC> tag and make the with attibute a percentage. If you are
using this for search engine results (like with verity), you are given a
percentage as a variable. Then you could place in the width attribute of the
<IMG SRC> tag and then wrap the CFOUTPUT around it. If you are not using a var
that gives you a percentage right off the bat, take what you have and convert
to a percentage. Hope this helps.