Preload Images

Preload Images

The Preload Images action loads images that do not appear on the page right away (such as those that will be swapped in with behaviors or JavaScript) into the browser cache. This prevents delays caused by downloading when it is time for the images to appear.

To use the Preload Images action:

  1. Select an object and open the Behaviors panel.
  2. Click the Plus (+) button and select Preload Images from the Actions pop-up menu.
  3. Click Browse to select an image file to preload, or enter the path and filename of an image in the Image Source File text box.
  4. Click the Plus (+) button at the top of the dialog box to add the image to the Preload Images list.
  5. Repeat steps 3 and 4 for all remaining images that you want to preload on the current page.
  6. To remove an image from the Preload Images list, select the image in the list and click the Minus (–) button.
  7. Click OK.
  8. Check that the default event is the one you want.

    If it isn’t, select another event from the pop-up menu. If the events you want are not listed, change the target browser in the Show Events For pop-up menu.

Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Inserting and Formatting Text
Adding Audio, Video, and Interactive Elements
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly