Inserting ColdFusion image fields

Inserting ColdFusion image fields

You can visually insert a ColdFusion image field into your form and set its properties. Use image fields to make custom buttons.

This Dreamweaver enhancement is only available if you have access to a computer running ColdFusion MX 7 or later. For more information, see Enabling the ColdFusion enhancements.

To visually insert a ColdFusion image field:

  1. In Design view, place the insertion point inside the form outline.
  2. In the CFForm category of the Insert bar, click the CF Image Field icon.

    A dialog box prompts you to browse to the desired image. Select the image to insert and click the OK button.

    If the image is outside the site root folder, Dreamweaver asks you if you want to copy the image to the root folder. Images outside the root folder might not be accessible when you publish the site.

    You can also type the path of the image file that you want to display in the Src text box in the Property inspector.

  3. In the Property inspector, set the image field properties.

    For more information, click the Help icon in the Property inspector.

Related topics

  • Setting the properties of ColdFusion form controls visually

Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly
Building ColdFusion Applications Rapidly
Building ASP.NET Applications Rapidly
Building ASP and JSP Applications Rapidly