Monday, February 23, 2009

New Armpit logo

So in order to keep the style of the new Armpit site consistent, Alex came with with the idea of printing out the logo and sketching it out. I used a ball point pen and a sharpie to get the Wes Borland look a lot his drawings have.

Labels:

Thursday, February 12, 2009

Slicing Tutorial

In this tutorial, I'll be giving a basic rundown on how to slice a design made in Photoshop, and ready it for web use. The example is done in Photoshop CS3, so keep in mind there may minor differences from version to version. Also like I said this is a basic example... a lot can be accomplished with this tool so make sure you check out it's full potential in your spare time.

The design you see is a design I'm working on for the new version of The Armpit, so consider it a sneak peek!

The first step is to actually slice it. To do this, select the Slice Tool located on the tool bar. It'll be a knife icon by default. Make sure the actual Slice Tool is selected, and not the Slice Select Tool

With the Slice Tool selected, begin your first slice. Simply draw a rectangle around the object you're slicing. Keep in mind, the less slices you end up creating, the easier it will be to code and lay out.



Slice anything with images that is important and contributes to the design of the website. In my design, you'll see I had to slice the boxes designed for twitter updates, as well as the navigation buttons that uses images. The design also uses a repeating background for the main content area, so I sliced a sliver for that too. The main content area also required I sliced a header and footer for it.

Note: Using snapping (View > Snap) for the slice selections will insure that your slices line up edge for edge and are pixel perfect. This way when it comes time to lay out your slices through code, you won't have any discrepancies.



My design sliced out!

Now we have to name these slices. Hold down click on the Slice Tool and select the Slice Select Tool. Now, double click on a slice to bring up it's properties.



Now we can use this dialog box to give our slices names. Photoshop gives names automatically, which can get hairy when you're trying to identify one slice from the next. Refrain from using capitals and spaces obviously, as this is a web format we're preparing for. After naming your slice, hit Ok to close out. Repeat for the rest of your slices. This is also a great place to check dimensions of slices as you'll need to define their sizes when coding.

Next ... saving. There are a few tricks here that can help you big time.

When saving designs that use slices, you must go to File > Save for web and devices...



The following dialog box is one that is designed to help you optimize your design for web standards. Along the top you'll see Original, Optimized, 2-up, and 4-up. Original is your design in it's current state, Optimized is your design as example of saving it in it's highest possible settings, 2-up is a side by side demonstration of your design in 2 standards in your choosing, and 4-up is the same thing with 4 examples, for comparison purposes. Consider the requirements of your website and decide what file format would be best for your slices. For example, designs using transparency would best work with PNG formats (although IE 6 does not support this) and designs without transparency best use JPEG. Since this particular design uses little colors and not a whole lot of fine gradient detail, I chose to go with a medium JPEG detail. This will help speed up the load time on the web while not compromising appearance.

Once you have selected your file type, click Save to view more options.

The problem with Photoshop is that it assumes that we want it to write our whole website, code and all. We need to fix that and make Photoshop realize we're the web designers, not them!

In this new window, you'll a pretty usual Save dialog box, but focus on the bottom part. The first drop down box indicates what format you'd like to save the files as. Drop the box down to images only to prevent Photoshop from writing code for our site as mentioned earlier.

The 3rd box helps Photoshop indicate what exactly we want to save. As we just got done slicing an entire site, the appropriate option would be all user slices. However, other options such as Selected Slices is good for changing specific slices if you find that you must do so after saving them the first time.



The 2nd drop down box offers a chance to customize the way Photoshop saves these files. Go ahead and drop it down to Other..., because by default Photoshop tries to define a path to save this files out to. Drop the HTML box down to Saving Files. Here you'll see a check box with a place to save the images into, simply uncheck this.



Now click Save and you'll have all your nicely sliced images in a folder ready to coded up. Double check to make sure all your slices saved out properly.



Thanks for reading, check back for more!

Labels:

Staying Focused

Well welcome to the new format of my blog. I've been working hard as nails on this site trying to get it finished and looking the way I want it to. This is funkyrabbitmedia.com, my own personal website where I'll be posting any interested blogs, both life and web design related. Expect anything to be posted here from now on. That also means I plan on posting here more frequently.

So now I have my blog integrated into my site, which makes things a lot easier for me. I did it using Blogger's publishing tool, basically it publishes new information via FTP to my web server, where it gets interpreted by code and displayed nicely here. But that topic is for another day.

Right now I have two web projects on my hands; this site and another version of the Armpit. I did a version of the Armpit a little while ago and posted about it here, but it was a quick project that was pretty easy to do. I'm going to be doing some step my step tutorials on how I made it starting from the slicing to the code, so look forward to that.

Classes have kept me busy, so I'm working on these sites in my spare time. I like it, it keeps me focused and driven! So check back often!

Labels: