Archive for September, 2009

Website Directory Structure and Path Referencing

Instructions

I’ve created a couple of short video screen cast tutorials on the basics of common directory structure setups for websites.  I’ve also included a short tutorial on how to reference images and paths using Relative and Absolute paths in HTML using a pre-defined directory structure.

I’ll include the example directory structure as a download as well so that you can follow along on your own.  After following me, continue to practice creating additional links and images on the different .html pages located in the “site_root” folder.

Note: If you have questions please post them in the comments section of this page.  I will answer them there, as other viewers may have similar questions.

I’ve compressed the videos quite a bit, so I hope the video and audio is okay.  If it’s not, I’ll repost higher res versions.

Videos

Flash Versions

(Click the full screen button to see the Flash versions BIG)

Part 1

Get the Flash Player to see this content.

Part 2

Get the Flash Player to see this content.

Sample Files

site_root Folder

Tags: , , , , ,

Create Seamless Repeating Backgrounds in Photoshop

A quick refresher on how to create seamless backgrounds in Adobe Photoshop for use on the web. Seamless backgrounds are used in background elements, menus, sidebars, & buttons.  Pretty much all over the place!  Get comfy with creating them.

These are the steps.

1) Find an image

First either create or find an image that you are going to use to repeat.  I’ll do grass, since it is relatively easy.

I did a google search for grass, and chose to use this image.

Grass!

Grass!

Remember to select a portion of the grass where the colors are uniform.  Choosing the dark corners would ruin our pretty pattern we are going to make.

2) Select a portion of the image to use for your pattern. I chose a 150 px by 150 px square in the middle.  Remember to always use a number that divides by two nicely.  (Even numbers).  Select the rectangular marquee tool, change its option style to “Fixed Size” and type in 150 for height and 150 for width.  Click anywhere on your grass, and the perfectly square marching ants will appear.  Position these by clicking on the selection and dragging it to where you want. Like so

Screen shot 2009-09-22 at 2.49.12 PM

3) Crop it. Once you have your selection over your desired portion of the grass, go to Image->Crop.  This will re-size your document to the same size as your selection.

4) Offset it. Go to Filter->Other->Offset and choose for the vertical and horizontal sizes exactly half of your initial selection (150 / 2 = 75).  So choose 75px for the vertical and horizontal offset values.  Make sure “wrap around” is checked and hit “Okay.”  This will now offset your document so that there appears lines down the middle both vertically and horizontally of the grass.

Screen shot 2009-09-22 at 2.58.05 PM

5) Get rid of the middle lines. Zoom in so that you can see better.  All we have to do now is use the Clone Stamp tool, or the “Patch” tool or any other method you choose to get rid of those middle lines.  Just put click on the clone stamp tool, hold down alt/opt and click near the line, not directly on it.  Choose a brush size around 20px and then clone stamp away the lines.  Once your satisfied with the result save the newly created pattern by going to Image->Define Pattern.  Give it a name.

6) Test it. To see how the pattern will look once it is tiled or reapeated across a background, create a new photoshop document about 800 px by 800px.  Go to Edit->Fill.  Make sure that under the “Use” you have “Pattern” selected, click on the little pattern icon box, and choose the pattern you just created.  (It should be the last on the list) and hit “OK.”

This should fill your photoshop document with that pattern and should look something like the following:

Screen shot 2009-09-22 at 3.00.05 PM

7) Delight in your newly created wonder!

Like most everything the web is FULL of free resources for web designers.  The following links are links to sites that have TONS of patterns.  Feel free to download them, change the colors of them in Photoshop, create you own patterns from them, or simply use them in your own designs.

http://patterncooler.com/

http://www.grsites.com/textures/

http://patterrific.com/

http://dezignus.com/floral-patterns-background/

http://www.dinpattern.com/

http://www.squidfingers.com/patterns/

http://www.noqta.it/dromoscopio/

If you have questions, post them in the comments.  Share tricks you discover as well.

Tags: , , ,

Photoshop Masks Tutorial

If the Egyptians used masks, I can too! Right?

Mask

Mask

Rather than re-inventing the wheel, I’m going to post a link to an excellent article/tutorial on Photoshop Masks.  You can read about Egyptian Masks on your own.  Understanding selections and masking is “the key” (in my opinion) to mastering Photoshop.  As masks are somewhat confusing to grasp at first, additional reading will help.  I encourage you not only to read the tutorial, but try and do what they are doing so that you can commit to learning.  Remember it takes 7 times of repetition before we commit things to long term memory. (According to the Psychologists anyway…)

Key Concepts with masks:

  • Black Hides, White Reveals, Shades of Gray partially Hide/Reveal
  • Masks are “Non-Destructive”, we can change them at any time without actually changing the pixels of the layer they are on
  • Shift + Click the Layer mask thumbnail to turn it on/off or (Layer menu -> Layer Maks -> Disable)
  • To soften the edge of a mask highlight the mask and use “refine edge” and play around with the sliders
  • Hold down Control (Apple on a mac) and click the layer/mask to load it as a selection
  • You can invert masks to mask the exact opposite

Here is the link: http://www.lunacore.com/photoshop/tutorials/tut003.htm

Tags: ,

Website Planning & Storyboarding

Here are a few of the links we looked at in class when discussing how to storyboard our websites for Assignment 2.  Remember that the storyboard paper has 4 main parts.

  1. The Audience – What is the purpose of the website?  Who is the audience?  What is your “Mission Statement”?  What is the demographic of your audience?  What are your colors/design going to be? (General color scheme).  The purpose section should be the first section of the storyboard paper.
  2. The Content – What information, text, audio, images, maps etc is going to be found on your website?  This section should be the longest and divided into subsections according to each page that is going to be on your website.  A minimum of 6 sections should be in this paper.  Start with the “HOME” page and write all of the text that will be on it along with any images, should the home page contain any.  Make sure each section has its “Title” as well as its “Heading”.  Following your Home section add the following pages in order of their popularity, or importance to your site.  A checklist will help you to ensure you’ve got most of your pieces in place.  This checklist will come in handy when over-viewing your final website
  3. The Flow Chart/ Storyboard – This is the digital flowchart of how your site is going to be organized.  We demonstrated how to do one of these using Microsoft PowerPoint in class.  Here is an example of a storyboard.
  4. Hand Drawn Mock-up – The last and final page of your storyboard must be a hand-drawn mock-up of your website.  It does not need to be in color, but should contain the general layout and structure of your  sites Home page.  Buttons should have their proper names instead of just “Button.”  This picture shows somewhat what I am looking for, but yours should be much better.