alt, class, and style attributes for CFImage Output
I am currently working on a project to add alternate text attributes to displayed images on a website. Normally this is just a pain, and you have to be creative with your wording. However this case is a little different.
The current code resizes a given image and writes the result to the browser. However CFImage does not currently have the ability to add an alt attribute to the output. What to do?
Luckily after a little research, Ben Nadel has given me an easy way out. He has created a UDF to modify what is outputed to the browser, thus enabling the alt attribute. Another one saved!
Check it out at http://www.bennadel.com/blog/846-Styling-The-ColdFusion-8-WriteToBrowser-CFImage-Output.htm.


There are no comments for this entry.
[Add Comment]