Using Photoshop Slices

When Web design became a significant part of a Photoshop user's job, Adobe added Slices to its arsenal of design tools. Slices can be used to save changes as you create graphics for the Web. Essentially, you will use Slices to divide up a Photoshop document. Each "Slice" gets saved as a different image when you Save for Web.

Slices are especially useful for Web designers who mock up entire Web pages in Photoshop during the design process, and then want to export the graphics and the HTML code needed to reproduce the mock-up as a Web page. For example, this Web site was mocked up in Photoshop, tweaked and re-tweaked, and finally sliced up to produce the individual images that make up the site.

Slicing is also very handy for creating a graphical navigation bar, since it's easier to keep your graphics and buttons in a single Photoshop file.

Here's a quick tour to using Slices:

  1. Open a Photoshop document that you want to slice up.
  2. Click the Slice tool (*) in the toolbox, and click and drag into your document to draw a rectangular slice. Photoshop automatically numbers your slice and creates a brown slice outline around the area you selected.
  3. Adjust the handlebars on the Slice to make it the right size.
  4. Click and drag to define a second Slice.
  5. Outlined in blue will be Slices that you are not currently working on. To edit another Slice, select the Slice Selection tool (*) in the toolbox (you can access it by clicking and holding the Slice Tool in the toolbox) and then click the Slice you want to edit.
  6. If you plan to export HTML as well as images, you can double-click on a Slice to open the Slice Options window, which allows you to set certain HTML settings and give the image a file name. You can also resize the image using the Slice Options window.

  1. When you have defined all your Slices and set up your Slice options, choose Save for Web from the File menu.
  2. You can select each Slice individually and give it a setting from the settings menu. (For more help on Saving for Web, see the section titled Creating Web-formatted images.
  3. When you are finished, click Save. (Notice the options available at the bottom of the Save box. Set these to save HTML and images or only the images from your file. You can also set Photoshop to save only Slices you selected in the Save for Web window or to save All Slices.)

10. Click Save. Unless you changed the settings, Photoshop saves the images in an HTML file that contains the code to build the document and the images in a separate folder. Open this up in your HTML editor to make any necessary tweaks.

> READ NEXT ARTICLE: How to Record Audio for the Web

 

recent comments

    Be the first to comment on this page. You must register before you can leave a comment.


post a comment

You must be registered (free) in order to post a comment.

 

More on This Topic

Evaluate This Page

How useful was this article?
(5 is extremely useful)

rate this a 1 rate this a 2 rate this a 3 rate this a 4 rate this a 5

Others have rated
this article: 4.6 / 5

discuss this topic

Post a comment

on Online Libel Issues

Here are some good tips for avoiding online libel attacks:

http://michael-roberts-mile2-xellex-mile-2.com/Michael_Roberts_Mile2_Libel.html

on Writing and Editing a Blog

I was searching for blog editing and found this article to be helpful. People love bullets and lists in blogging. I also found an blog editing site that looks interesting as well http://www.quickpostedit.com where they charge for editing by the word more or less. If I didn’t have an editor for a girlfriend maybe I would use it. winkAs for the editing of comments I only every edit the curse words out, I think that if they have bad grammar that reflex poorly on them. My blog is primarily about marketing not editing so I don’t get to up tight.

on Polls and E-mail Surveys

why do we poll? well, just to know what most of the people wanted or like. just like if we make a poll about the candidacy of the next president of the United States, we will know who among the candidates are most loved by the people or who they want to rule them…
___________________

cutie_tech123
A team of successful entrepreneurs credited for http://www.SelectWealthSystem.com
A new home-based-business marketing system that provides the strategic high ground for internet marketing.
Pro Team Marketing uses an automated marketing system that is currently promoting a cutting-edge young company, entering the early growth stage, that targets the largest consumer base in the United States with their financial educational products.
http://www.SelectWealthSystem.com

on Planning Site Content and Organization

There is a new link for the calpoly page on content organization:

http://warc.calpoly.edu/planning/conceptualization/content_organization.html

on Creating a Basic SWiSHmax Animation

you forgot to add to click the motion path before moving the object..