Bill Robertson, Ph.D. - Classes
Teacher Education Department

SIED 5323 - Societal Context of Science Education

Graphics and Images

All images must be in the folder. One approach is to have a separate folder called “images” if there are a lot of pictures and icons. Extra folders are useful when building a complex site, but remember that all the links will change if this decision is made after the construction of the site has begun.

Graphics are probably one of the more exciting pieces to the Web. They give Web pages that fun, classy, or sophisticated look. They can also make your page look gaudy and too busy if not used correctly.

Graphic Format

For the Web, graphics are typically in one of two formats:

  • GIF (Graphics Interchange Format) : 1-to-8 bit color support (256 colors)
  • JPEG (Joint Photographic Experts Group) : 1-to-24 bit color support (16.7 million colors)

Similar to setting a hyperlink, you set the image source:

<IMG SRC="image.gif or image.jpg">

Note that IMG and SRC work in conjunction with one another, but control two separate functions on the image. IMG affects the image it self; how it is positioned. SRC affects the location of the graphic. As with the hyperlink, we have to determine if the graphic link will be relative, document relative, or absolute.

Finally, you need to fill in the "ALT" attribute with a text equivalent for all images in order to make your site accessible and functional for all users.

Getting Graphics

It is highly discouraged to link to graphics on the Web. The site you are linking to could change, move, or even worse, disappear. Then you are left with a broken image icon on your page.

There are literally hundreds of sites available for "borrowing" free graphics. A few of these sites are listed below:

Once you have found a graphic you like, you need to save it to your images folder. This is actually quite simple:

  • Identify graphic to be saved.
  • Place your mouse cursor on top of graphic.
  • Click on the right mouse button.
  • Choose Save Image As
  • Save the graphic in the images folder (sub-directory) located within your local root folder.

NOTE: Be sure to remember the name of the graphic file or rename it to something you can easily remember!!

 

 

UTEP College of Education