A "placeholder graphic" as the name suggests is a temporary graphic that is used until the final graphic is ready to be added to the Web page. You can use it to create a Web page in advance without ideal graphics - insert a placeholder graphic where the graphics are needed to "occupy" the "territory" first.
(1) Insert placeholder graphics
Place the cursor where you want to insert the graphic; select: Insert > Image Placeholder The image placeholder dialog box appears, as shown in the figure:
After setting various parameters, click "OK" to insert the placeholder graphic into the page, as shown in the figure:
picture:
The name and size are shown above. Looking at the source code, we found that an image tag containing an empty src attribute was added.
(2) Replace placeholder graphics
1. After the page is designed, we need to use the correct graphics to replace the placeholder graphics. Select the placeholder graphic in DreamweaverMX (DWMX for short) and open the properties panel, click the "Create" button. Then DWMX will start FireworksMX (FWMX for short) and automatically create a blank canvas of the same size as the placeholder graphic waiting for the graphic designer's "production".
2. After creating the required graphics in FWMX and optimizing them, click the "Finish" button on the top of the canvas.
In the "Save As" dialog box that appears, give the archived png file a file name and save it (this will facilitate later modification); in the "Export" dialog box that pops up, make the relevant settings and "save" the file.
3. Switch to DWMX and we find that the placeholder graphics have been replaced. Looking at the code, we found that the address of src has been automatically inserted, and the rest of the size, alt and other parameters remain intact, as shown in the figure:
Haha, isn’t it very convenient? From here we can also realize that the cooperation of the "Three Musketeers" is truly unparalleled!
(3) Things that need attention
If a hotspot is drawn in FWMX and a link is added, FWMX will not remove the link that has been added to the image placeholder in DWMX; but if a slice is drawn on the image in FWMX, the placeholder will be replaced Remove links in DWMX documents when drawing.