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 Advertising Your Site

After you create a site that job ended. Instead, you realize that you have nothing and you must again start working. Sites are like living organisms grow and gain popularity over time depending on what you do for him. It’s like a child to be raised with great care. If you give too much food is overweight.
Work is continuing and uninterrupted if you want to get results.
Masini from vand miere naturala

on RSS Feeds

Buy or sell timeshare with Bay Tree Solutions; browse timeshare resales; timeshares for sale and rent by owner; Learn about buying or selling timeshare on the resale market and how to Sell My Timeshare!

on RSS Feeds

Thanks for the great article. I really enjoyed it.

STD Testing
STD Test

on Maintaining Ethics and Standards

The iPad helped facilitate the wedding of Aaron and Katie, as it made its rounds to the priest Blue Wedding Dress and then the bride and groom. Not only did the bride, Katie, read her vows to her soon-to-be husband, Aaron, from the iPad, While the couple’s wedding was held outdoors, a gazebo provided shade to help make reading easier; the iPad’s glass screen and the sunlight usually don’t make a good combination for readability.Offbeat Bride reports on creative wedding ideas; Aaron and Katie’s iPad-enabled nuptials Bodice Wedding Dresses certainly qualify.If you plan on using your iPad in your wedding, you might as well plan your wedding using an iPad. You can use 100 Wedding Tips and the Wedding Guests app, which aims to help you make a final Bolero Wedding Dress decision on who to invite to your wedding and who to cut from the list.

on Legal Issues for Online Publishers

Your article is extremely impressive. I never considered that it was feasible to accomplish something like that until after I looked over your post. You certainly gave a great perception on exactly how this whole process works. I will make sure to return for more advice. Thanks

College Term Papers