Create three views. Each view should show an image and the description of
that image.
Your images and their descriptions should be related.
Use a layout page that uses absolute positioning to show the navigation links and the
name of the image in the page heading. When displayed
within the layout page, each view should be displayed something like this:
Name of Image
+-------------------------+
Link to Image1 | |
Link to Image2 | Image |
Link to Image3 | |
| |
+-------------------------+
Description of image.
A hyperlink to an image page should only be displayed as an underlined hyperlink
if it does not refer to the current page. Use the Rails
link_to_unless_current helper method as shown in the Greeter Example.
Also create a border for the image and set the margin and padding properties to get
the desired layout.
Don't forget to supply a title for each view. The easiest way to do this is to set the
title in the controller as in the Greeter Example.
Rails Tags
Here is the rails tag to display an image in
ProjectName/app/assets/images/image_name.jpg: