Using an Animated GIF in HTML

Using an Animated Gif in HTML.
I opened this thread very much as a novice with the full knowledge and expectation that it will be critiqued but also with the anticipation that those with more expertise than I, will later explain how they build animations, for example: 800x600 px, where motion is not as subtle as what I employed here.
Enough.
Quite some years ago JIMMYJOHN and I engaged in a discussion on animation. He sent me the image below. Those of you who have followed the Tamara and Natasha series at “Contributions” will recognise Tam.
At the time I had been experimenting with animated gifs, my background was HTML and I had no idea how animations were added into FLASH.
In short, I presented JIMMYJOHN access to a webpage which opened with that image; see the prompt at the bottom of the image above? I decided to play a ‘game’ with him, but let this come later.
Before I proceed further I’m going to assume that my reader has basic understandings of the type of software which I used.
My available software was an HTML editor, a Gif animator, an image slicer, an Image mapper and a version of Photoshop. While I own those, there is free software available (which I’ll mention later).
Firstly I took the image into my Image Slicer and divided it into 9 with the hand in the mirror being my focus.
On saving, my Image Slicer kindly delivered an HTML listing identical to Listing 1 with one exception. Note that “4 MIRROR.gif” does not exist because I edited and replaced it.
In Photoshop I edited the pixels around the left hand moving it so slightly and then saved it as a new image. After repeating this three more times I had five images to take to my Animator to compile into an animated Gif.
I set a 0.3 sec delay between images. My editor offered me a choice of repetitions, finite or continuous. For JIMMYJOHN I used 9 loops but for this exercise I have set the gif to loop continuously.
After saving I replaced ‘4 MIRROR.gif’in my HTML listing with “Tammy.gif”.
Listing 1
To make that all work actually required the creation of a prior HTML page which is Listing 2.
Before opening the listing notice that there is only one image. I called it “mirror.jpg”; it was the one which I earlier mentioned was sliced into 9 new images.
My Image Mapper created the listing from inputs.
The <map></map> tag allows area attributes to be set.
On this image I wanted to address two specific locations.
For my “Jimmy tease” I set a not-so-hotspot on Tam’s breast, upper right. Passing the mouse over it brought up an error message for him. The lower left, being the true target, brought up another message to prompt the triggering of the second HTML page, and the animation.
Listing 2
Software? I used CoffeeCup software and PhotoShop 7.0.
I also have Arachnophilia, a “careware” HTML editor; can you afford it?
I understand GIMP provides for image slicing and mapping as well as animation.
A search engine will provide others.
In summary, I’ve taken an image, split it to access one element which became the foundation for an animation, built two pages, one which maps some potential events, and another which leads into the second where things work.
Yes, I know this is primitive but it demonstrates and explains some important principles.
While not necessarily related to animations, some of the above is handled in tlaero’s Adventure Creator.
I opened this thread very much as a novice with the full knowledge and expectation that it will be critiqued but also with the anticipation that those with more expertise than I, will later explain how they build animations, for example: 800x600 px, where motion is not as subtle as what I employed here.
Enough.
Quite some years ago JIMMYJOHN and I engaged in a discussion on animation. He sent me the image below. Those of you who have followed the Tamara and Natasha series at “Contributions” will recognise Tam.
At the time I had been experimenting with animated gifs, my background was HTML and I had no idea how animations were added into FLASH.
In short, I presented JIMMYJOHN access to a webpage which opened with that image; see the prompt at the bottom of the image above? I decided to play a ‘game’ with him, but let this come later.
Before I proceed further I’m going to assume that my reader has basic understandings of the type of software which I used.
My available software was an HTML editor, a Gif animator, an image slicer, an Image mapper and a version of Photoshop. While I own those, there is free software available (which I’ll mention later).
Firstly I took the image into my Image Slicer and divided it into 9 with the hand in the mirror being my focus.
On saving, my Image Slicer kindly delivered an HTML listing identical to Listing 1 with one exception. Note that “4 MIRROR.gif” does not exist because I edited and replaced it.
In Photoshop I edited the pixels around the left hand moving it so slightly and then saved it as a new image. After repeating this three more times I had five images to take to my Animator to compile into an animated Gif.
I set a 0.3 sec delay between images. My editor offered me a choice of repetitions, finite or continuous. For JIMMYJOHN I used 9 loops but for this exercise I have set the gif to loop continuously.
After saving I replaced ‘4 MIRROR.gif’in my HTML listing with “Tammy.gif”.
Listing 1
To make that all work actually required the creation of a prior HTML page which is Listing 2.
Before opening the listing notice that there is only one image. I called it “mirror.jpg”; it was the one which I earlier mentioned was sliced into 9 new images.
My Image Mapper created the listing from inputs.
The <map></map> tag allows area attributes to be set.
On this image I wanted to address two specific locations.
For my “Jimmy tease” I set a not-so-hotspot on Tam’s breast, upper right. Passing the mouse over it brought up an error message for him. The lower left, being the true target, brought up another message to prompt the triggering of the second HTML page, and the animation.
Listing 2
Software? I used CoffeeCup software and PhotoShop 7.0.
I also have Arachnophilia, a “careware” HTML editor; can you afford it?
I understand GIMP provides for image slicing and mapping as well as animation.
A search engine will provide others.
In summary, I’ve taken an image, split it to access one element which became the foundation for an animation, built two pages, one which maps some potential events, and another which leads into the second where things work.
Yes, I know this is primitive but it demonstrates and explains some important principles.
While not necessarily related to animations, some of the above is handled in tlaero’s Adventure Creator.