Chapter 10. I've Been Working on the Rails Code
In This Chapter
Adding new images to your Rails project
Using the RadRails Import Wizard
Chapter 9 demonstrates the creation of a photo album Web site. The site's managers (the folks at Chapter9Photos.com, Inc.) have hired a marketing team to promote the Web site. Here's an excerpt from the team's proposed marketing blurb:
Visit Chapter 9 Photos online! See the filename and description of your favorite photo! Enter any filename you want — correct or incorrect. It doesn't matter, because the Web site doesn't even display your photo!
How appealing! I can't wait to visit the site!
Displaying an Image
When I was a child, my family was so poor that we couldn't afford photos. All we could afford were the filenames of photos. That's why we created Chapter9Photos.com.
But these days, kids are spoiled. When they visit a photo album Web site, they expect to see photos, not just filenames! So this chapter adds visible photos to the site in Chapter 9.
You can add images to a Web site with only a few lines of code. Here's how:
If you haven't already done so, create a simple photo album Web site.
Follow Steps 1 through 5 in the first section of Chapter 9.
In the Rails Navigator view, find the project's public\images branch.