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.5 / 5

discuss this topic

Post a comment

on Legal Issues for Online Publishers

"I think liability insurance is very important,” Ardia said. “While legal counsel can help to fend off liability, if a publisher loses the lawsuit, they will be on the hook for damages.  Unfortunately, most insurance carriers price their insurance products well above what a small journalism startup can afford.” exhibitions designs | web design

on Surveys

Contact with visitors is very important to a point. Need to know to collect information but need to know and use them. Some may want to discredit your business but I must put into consideration. You must continue your journey and find out what will consumers.piese auto online

on Using Twitter for promotion and community

It is very good to use for promotion twiter but how will you really so. If you promote your business twiter can only be surprised that at a time for everything to go downhill. And then sit and cry. Twiter better besides using other online communities, and other measures that you can take.dezmembrari auto

on Legal Issues for Online Publishers

These rules not only protect us from posting a worse ranking in Google sherps but also offers greater security and credibility that offers hosting services. So everybody should understand that is something beneficial for both sides, not only to those who provide these services.autovit

on Using Twitter for promotion and community

I discovered your site while browsing looking for something entertaining to read. Suffice to say, I’ve found it! I’ll definitely return to read more. Thanks again for taking the effort to write all this.
Regards,auto insurance comparison