tags require that an image file name be specified in the SRC attribute – all other attributes are optional. But best practices dictate that other attributes be specified too, including HEIGHT and WIDTH (so that the browser can allocate the exact screen space before the image is retrieved). ColdFusion Studio (and HomeSite) can automatically embed the correct HEIGHT and WIDTH values for you, all you have to do is drag the image from the Resource Tab into the editor and a complete tag is generated (including a relative SRC path). (Applies to: ColdFusion Studio All)

Leave a Reply