Apply placeholder graphics in Dreamweaver mx

Source: Internet
Author: User
Tags dreamweaver

Placeholder graphics, as the name suggests, are temporary graphics that are used before you are ready to add final graphics to a Web page. It allows you to make a Web page without an ideal graphic--insert a placeholder shape where you need to use the graphic to "occupy" the "site" first.

  First, insert placeholder graphics

Position the cursor where you want to insert the graphic; Select: Insert > Image placeholder the Image Placeholder dialog box appears, as shown in figure:

After setting the parameters, click "OK" to insert the placeholder graphic into the page, as shown in figure:

The name and size are shown above. Viewing the source code discovery adds an image label that contains an empty src attribute.

  Replacement of Placeholder Graphics

1. When the page design is good, we need to use the correct graphics to replace the placeholder graphics. In Dreamweavermx (Dreamweaver MX) Select the placeholder graphic and open the Properties panel, click the "Create" button. The Dreamweaver MX starts the Fireworksmx (short fireworks MX) and automatically creates a blank canvas of the same size as the placeholder graphic to wait for the graphic designer's "fencing".

2. After making the desired graphics in fireworks MX and optimizing them, click the Finish button on the top of the canvas.

In the Save As dialog box that appears, take a filename for the archived PNG file and save it (so that it is easy to modify later), and then "save" the file after making the relevant settings in the Export dialog box that pops up.

3. Switch to Dreamweaver MX, we found that the placeholder graphic has been replaced. See the code, found that the SRC address has been automatically inserted, the remaining size, alt and other parameters are maintained in the original, as shown in figure:

Oh, is not very convenient ah? From here we can also experience the "Three Musketeers" is really unmatched cooperation!

  Third, need to pay attention to

If you draw a hot zone in fireworks MX and add a link, fireworks MX will not delete the link that has been added to the image placeholder in Dreamweaver mx, but if a slice is drawn on the image in fireworks MX, You will delete the links in the Dreamweaver MX document when you replace the placeholder graphic.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.