The images we work with in this book must be built into the webpage - you can’t use an image from your own computer. Below are some images that are built into the web pages in this chapter.
Data: mount_hood.jpg
Data: graduates.jpg
Data: goalkeeper.jpg
Data: green_screen.jpg
Data: student1.jpg
Data: student2.jpg
Data: scooter.jpg
Data: logo.jpg
To use a particular image, change the line of code that creates an image object so that it specifies the desired image name in quotes. Like img = Image("student1.jpg") to use student1.jpg. Try out one or more of these images by changing line 4 in the program below.
Note21.2.2.
It is also possible to use an image that is on another web page if you know its full address. Doing this would look like: