Effective Use of Images
* Most designers think that a page with a total file size of 35k is pushing the limit. That 35k includes everything from images, HTML, Scripts and content.
There are three viable graphic file formats for the web -gif, jpeg, and png.
Characteristics of each graphic file format
gif (Graphic Interchange Format)
jpg (Graphic Interchange Format)
png (Graphic Interchange Format)
Animated Gifs
What is an advantage and disadvantage of an Animated gif?
Can draw attention to a topic.
Can be annoying if over-used.
What is a transparent gif and what makes them useful?
Shows just the shape of the graphic and not the rectangular background of the image.
What graphic file type would best suit the following images?
banner + text = gif
photograph of person = jpg
Why would you want to use and interlaced gif or progressive jpg?
When you need to use a large image that would take a long time to load.
What is the most common image format and why?
Gifs, because most sites use flat color images to create menus, logos, and text.
What are several general guidelines for web graphics?
Keep images small. Keep them under 40k.
Consider interlaced or progressive formats.
Images are not just eye candy. Some of the best stories are told with images.
Why is it important to use the right images?
Knowing will help you make your images smaller, and it has a direct impact on image quality.
How can you optimize a graphic?
Reduce the number of colors as much as you can.
Crop your images as much as possible.
Use the right file type for the image.
Use <img> tag and scale the graphics by width and height. (This embeds the image so the browser doesn't have to determine its size and create a placeholder. <img src="image.gif" height="200" width="250" alt="text message">
slice large images and load each piece into a table to help speed-up load time.
Be aware that browsers cache images.
What are two advantages of slicing up larger images into sections?
You can rely on the browsers cache to reduce page load time, and you can swap sections of the image for "rollover" effects without having to load the entire graphic for each event.
