| Downloaded from www.biorust.com on Sat Jul 04, 2009 23:22:51 |
![]() | |
| Interfaces & Imageready Tutorial Author - Man1c M0g (http://forums.biorust.com/member.php?s=&action=getinfo&userid=1) |
Photoshop is an amazingly powerful tool, capable of creating the most awe-inspiring interfaces, but it can only take you so far. When all your work is finished, its often the job of Photoshop's sister application, Imageready, to transform your creation into a living, breathing, web-interface. The aim of this article is to provide an insight into the correct usage of Imageready to produce flexible interfaces with minimal bandwidth footprint. The general principles in this interface can also apply to skins, and CSS-generated interfaces, but for the sake of simplicity, I will only explain my technique, which splits the interfaces into tables. Still interested? Read on...
Why Use Imageready?
If Photoshop is so powerful, why use Imageready?
Well, unlike standard creative work (wallpapers, skins, etc), web-interfaces are
very size sensitive. If you don't optimize your images correctly you'll
end up creating a website that takes an utter AGE to load. The immediate effect
of this will be that you drive most of your visitors away, and eventually rack
up a huge bandwidth bill from your hosting provider for the few visitors that
do remain. Whilst nearly all image-compression is, of course, lossy (i.e.
you'll lose quality), the difference between a well-compressed image and that of
a full-fat original is often imperceptible and never noticed. Imageready
makes size optimization an absolute cinch to manage too, allowing full flexibility
without actually downgrading the quality of your original .PSD in the process.
In addition to size benefits, Imageready allows you to split interfaces up into
slices. So, rather than loading the whole thing at once, your interface
will load up more steadily and let your viewers know they are actually getting
somewhere. In addition, you can isolate repetitive or solid-colour areas
of your interface from complex parts. The exact importance of this will be
discussed later in this article.
Finally, Imageready
makes it extremely easy to create animations and rollovers for your designs.
Notice how my menus are dynamic and change when the mouse pointer goes over
them? Imageready did all that, and its VERY easy to do too (in fact,
all the necessary HTML code is automatically generated!). I won't go into
how to create those in this article though, because the program's help file
already contains all the details you'll ever need on this subject (and I see no reason to
redesign the wheel).
Slicing your Images
Its time to get onto the real 'meat-and-bones' of
this tutorial. Load up your Interface in Imageready and, using the Slice Tool and Slice Select Tool, slice up your design into its component parts. As an
example, here's one of my favourite interfaces split up in this manner:

Believe it or not, this is actually quite a simple interface to slice. Don't lose heart though, because its NOT THAT HARD - I have a large volume of slices for the sake of optimization (explained later). There are a number of principles you really should adhere to whilst slicing, and these are as follows:
Slice Optimization

Above your interface you should see the tabs shown above. When playing around with file optimizations make sure you do it in the 'Optimized' screen which will, of course, show the effects of your tweaks as they are applied. The 2-up and 4-up dialogs are useful too, and allow cross-comparison of different levels of optimization. Where possible you should aim, of course, to get the lowest file size possible without sacrificing too much quality. The zoom tool can help pick out changes in smaller slices, but don't be too anal about quality when zoomed in close because differences in quality are often imperceptible at original size. Be sure to spend lots of time in this penultimate stage of the design process - the filesize-reduction rewards can be quite staggering if you take your time.
Outputting your Interface
Now that you have done all the hard stuff, you can take a small rest and let
Imageready do all the hard work for you. Just select File > Save
Optimized As... from the menu, choose a blank output directory, and
watch as your creation comes to life. Of course, our work isn't quite done
yet - the templates that Imageready generates are static, non-expandable,
and can be optimized even further.
Further Optimizations
We are in the home-stretch of our website creation marathon. True to a real-life
race, this is the moment where the most gains are made, or the biggest losses
are suffered. Now that our website layout is controlled by
HTML, however, we can leverage both the power of Imageready and a HTML editor to their
full potential...
|
|
|
|
With a little care, and attention to fine detail, it is often staggering how much you can shave off the size of an interface. My Biorust Interface, for example, is a shocking 286kb when defined as a solid image. When optimized fully, however, its only ~80kb - quite a large saving, I'm sure you'll agree!
Expanding Designs
And now, for the final touches, try adding lots of fake content to your
design to see how it expands. If all goes well, you SHOULD have no
problems, or merely have to define a few slices as cell backgrounds to make
them tile. One thing is certain though - master Imageready and
you will surely have the world of web design at your feet. Good Luck!