The Photoshop web tools make it easy to build component pieces for your web pages or to output complete web pages in preset or customized formats.
Use layer comps to experiment with different page compositions or to export variations of a page. (See Layer comps.)
Create rollover text or button graphics to import into Dreamweaver or Flash.
Create web animations with the Animation panel, then export them as animated GIF images or QuickTime files. See Creating frame animations.
Use Adobe Bridge to create a web photo gallery to quickly turn a set of images into an interactive web site, using a variety of professional-looking templates.
For a video on designing web sites with Photoshop and Dreamweaver, see Access Photoshop from Dreamweaver to enhance web image.
A rollover is a button or image on a web page that changes when the mouse is over it. To create a rollover, you need at least two images: a primary image for the normal state and a secondary image for the changed state.
Photoshop provides a number of useful tools for creating rollover images:
Use layers to create primary and secondary images. Create content on one layer, then duplicate the layer and edit it to create similar content while maintaining alignment between layers. When creating a rollover effect, you can change the layer’s style, visibility or position, make color or tonal adjustments, or apply filter effects. See Duplicate layers.
You can also use layer styles to apply effects, such as color overlays, drop shadows, glow, or emboss, to the primary layer. To create a rollover pair, turn the layer style on or off and save the image in each state. See Layer effects and styles.
Use preset button styles from the Styles panel to quickly create rollover buttons with normal, mouseover, and mousedown states. Draw a basic shape with the rectangle tool and apply a style, such as Beveled Normal, to automatically turn the rectangle into a button. Then copy the layer and apply other preset styles, like Beveled Mouseover, to create additional button states. Save each layer as a separate image to create a finished rollover button set.
Use the Save For Web & Devices dialog box to save rollover images in a web-compatible format and with an optimized file size.
When you save rollover images, use a naming convention to distinguish the primary (non-rollover state) image from the secondary (rollover state) image.
You can post high-resolution images on the web that viewers can pan and zoom to see more detail. The basic-size image downloads in the same time as an equivalent size JPEG file. Photoshop exports the JPEG files and HTML file that you can upload to your web server.
Sets the background and navigation for the image viewed in the browser.
Specifies the location and name of the file.
Image Tile Options
Specifies the quality of the image.
Sets the pixel width and height for the base image in the viewer’s browser.
Photoshop can display the hexadecimal values of image colors or copy a color’s hexadecimal value for use in an HTML file.
Photoshop copies colors either as an HTML COLOR attribute containing the hexadecimal value (color=#xxyyzz), or as the hexadecimal value alone.
With the Eyedropper tool, move the pointer over the color that you want to copy. Right-click (Windows) or Control‑click (Mac OS), and choose Copy Color As HTML or Copy Color’s Hex Code.
Set the foreground color using the Color panel, the Swatches panel, or the Adobe Color Picker. From the Color panel menu, choose Copy Color As HTML or Copy Color’s Hex Code.
In the Save For Web dialog box, click the color swatch or choose Matte > Other. In the Adobe Color Picker, right-click the hexadecimal value, and choose Copy.