In this recipe, we are going to work with photos and add hotspots to them. We use GIMP in order to create them. In Chapter 3, Working with Different Types of Interactive Charts, we had created hotspots using a website. In this chapter, we will create them using this free and open source software.
Choose a photo and think of the links that you want to add to it. A good idea related to Art is to choose some famous paintings and add hotspots related to the painter who did them and their biography.
It would be a good idea to resize the image before adding hotspots to it, especially if we are dealing with a photo. Follow these steps in order to add hotspots to the image:
We have just added a hotspot to the photo. Our photo will not be an ordinary one; when hovering the mouse over the selected area, we will be able to click, and the website that we have selected will appear.
It is time to upload the image to our Moodle course. Therefore, choose the weekly outline section where you want to add the activity and upload the image to the Edit summary section. These are the steps that you have to follow:
<p><img alt="hotspots" src="http://localhost/draftfile.php/13/user/draft/765594482/Hotspots.JPG" width="1000" height="750" /></p>
/>
:usemap="#map" border="0"
<p><img alt="hotspots" src="http://localhost/draftfile.php/13/user/draft/765594482/Hotspots.JPG" width="1000" height="750" usemap="#map" border="0"/></p>
<map name="map"> <!-- #$-:Image map file created by GIMP Image Map plug-in --> <!-- #$-:GIMP Image Map plug-in by Maurits Rijk --> <!-- #$-:Please do not edit lines starting with "#$" --> <!-- #$VERSION:2.3 --> <!-- #$AUTHOR:Silvina --> <area shape="circle" coords="57,241,124" alt="Packt Publishing Author" target="Vanesa S. Olsen" href="http://www.packtpub.com/authors/profiles/vanesa-olsen%20" /> </map>
<p><img alt="hotspots" src="http://localhost/draftfile.php/13/user/draft/803924560/Hotspots.JPG" usemap="#map" border="0" width="1000" height="750" /></p> <p> <map name="map"> <!-- #$-:Image map file created by GIMP Image Map plug-in --> <!-- #$-:GIMP Image Map plug-in by Maurits Rijk --> <!-- #$-:Please do not edit lines starting with "#$" --> <!-- #$VERSION:2.3 --> <!-- #$AUTHOR:Silvina --> <area shape="circle" coords="57,241,124" alt="Packt Publishing Author" target="Vanesa S. Olsen" href="http://www.packtpub.com/authors/profiles/vanesa-olsen%20" /> </map> </p>
When hovering the mouse over the image, you will be able to click on the selected image and the website that we have inserted will appear, as shown in the following screenshot:
3.15.34.39