Objective
To learn Photoshop's
slicing and web production tools by creating the pixel elements for this landing page and this inside page.
Discussion
Photoshop also has powerful tools designed for for web development. Ideally, all prototyope screen mock-ups should
be completed in Photoshop before slicing. In this exercise, we will some gain experience in slicing and optimizing images for Dreamweaver.
Procedure
Overview: Slice and optimize the home page in Photoshop. Modify the home page to make an inside page. Slice additional elements for the inside page.
Prepping for the lesson
- duplicate "dm-home-lines.psd" 2x (from previous lesson)
- rename files "dm_home-sliced.psd" and "dm-inside-sliced.psd"
(or download this starter file)
- launch Photoshop
- practice Photoshop navigation keyboard shortcuts: space=hand;
space+cmd=zoom in; space+opt+cmd= zoom out; cmd+zero=fit in
window
Slicing the home page in Photoshop
- open "dm-home-sliced.psd" in Photoshop
- draw guides for slicing (view > rulers)
- slice tool: draw 3 slices
- name slices "home-logo", "home-links", "home-pix"
(slice
select tool: double-click)
- hide "browser" layer
- file > save for web (optimize each slice; images only, user slices, location=projects_html/exercises/dm_optimized)
- save, save as "links-home.psd"
- crop out all art except links area
- view > clear slices (also clears slice names)
- draw vertical guides for slicing
- slice based on guides (slice tool: options bar)
- reveal "normal" state layers
- file > save for web (html, all slices)
- reveal "over" state layers
- file > save for web "links-home-over" (images only, selected slices)
- save, close
- inspect optimized files
Creating the inside page
- open "dm-inside-sliced.psd" in Photoshop
- adjust size and position of logo art
- adjust position and line breaks of links
- browse to www.lipsum.com and copy some text
- paste text (text tool: drag to draw text frame)
- make text verdana 11/18, light blue (anti-alias=none)
- commit to edits in type layer (ENTER on numeric keypad)
- add triangle with shape tool (option: shape layer)
- copy and paste layer style from "program" layer
- duplicate triangle 5x (move tool: option+shift drag)
- move shape layers into new layer group
- crop out browser chrome
- file > save for web "tracing.jpg" (settings=JPEG high)
- save
Slicing and optimizing the inside page
- slice tool: slice logo art
- slice select tool: name logo slice "upperRight"
- file > save for web (images only, user slices)
- save, save as "links.psd"
- crop out all art except links area
- view > clear slices (also clears slice names)
- draw horizontal guides for slicing
- slice based on guides (slice tool: options bar)
- reveal "normal" state layers
- file > save for web (html, all slices)
- reveal "over" state layers
- file > save for web "links-over" (images only, all slices)
- reveal "hit" state layers (include triangles)
- file > save for web "links-hit" (images only, all slices)
- save, close
- inspect optimized files
Grading
- publish "tracing.jpg" (see separate lesson)
- make a link from your process page to the JPEG