You can create a library item from any element in the body
section of a document, including text, tables, forms, Java applets, plug-ins, ActiveX elements, navigation bars, and images.
For linked items such as images, the library stores only a reference to the item. The original file must remain at the specified location for the library item to work correctly.
It can still be useful to store an image in a library item, though; for example, you could store a complete img
tag in a library item, which would allow you to easily change the images alt
text, or even its src
attribute, throughout the site. (Dont use this technique to change an images width
and height
attributes, though, unless you also use an image editor to change the actual size of the image.)
Dreamweaver saves each library item as a separate file (with the file extension .lbi) in the Library folder of the sites local root folder.
If something is selected, it will be placed in the new library item.
A new, untitled library item is added to the list in the panel.