CFIMAGE WRITETOBROWSER no alt tag!

Just a quick post on using 'CFIMAGE' with the action 'WRITETOBROWSER'. I noticed something which is not documented in the livedocs. When using the above tag I viewed the sourced code it outputted to the browser and it gave a completely empty alt tag, not good for accessibility! So I looked in the livedocs to see it there was an attribute for missing 'alt', but nothing!

Just out of pure boredom I added alt="something" to the CFIMAGE tag and guess what? No errors, could it have worked? Yes it did! Infact any normal image attribute seemed to work on CFIMAGE such as border="0" etc.

OK, so this is weak attempt at a blog post but it has me thinking, do Adobe not document such things often or maybe just because its common sense. Well either way I like it when things just work.

Jun10

Comments 1

  1. Ben Nadel's Gravatar # Posted By Ben Nadel
    10/06/09 20:55

    That is an awesome little discovery! Nicely done.