Making a move: Animated gifs (in Photoshop CS2)
posted by Raffi Photoshop Intermediate April 26th, 2007For many web sites, animation is created using Flash. Flash is an Adobe program that can combine images, text, web programming and more to make something as seamless as a movie or as annoying as a “skip intro” page. If you want just a tad of movement somewhere on a page, such as lightly flickering stars in the background, I would suggest using an animated .gif instead of Flash.
If you are a basic Photoshop user, you can create an animated .gif if you know about layers and are willing to learn about the animation palette. Older versions of Photoshop do not allow for this, and Photoshop Elements or Image Ready can be used. In this tutorial I am using Photoshop CS2, a.k.a. Photoshop 9.0.2.
Photoshop defines animations as: “a sequence of images displayed over time. Each frame varies slightly from the preceding frame, creating the illusion of movement when the frames are viewed in quick succession.” Basically, you are creating animation the way cartoons are made, by replacing each frame with another frame that is slightly different.
Here is the sample image that I will be animating – a little stick figure enjoying Yoga.
In this instance, you can see that I have 4 layers on the image. From the top they are: Forward Bend, Downward Dog, Cobra and the white background.
GOAL: My intention is to have the stick figure do some fluid Yoga, going from one pose to another.
Step 1: Because I want the man to do his Yoga in place, I centered the layers with each other.

Step 2: With the image open, go to Window on the main menu and select Animation. This opens the animation palette. Your image will appear in the first frame of the animation palette.
Step 3: Add a frame to the animation palette.
You can do this by clicking on the arrow on the top right of the animation palette and selecting “new frame” from the fly-out menu, or you can click the square at the bottom of the animation palette. Now you’ll see your image in the first frame & new frame of the animation palette.

Step 4: Select a frame and edit the layers of that frame.
You can do any of the following:
- Turn visibility on and off for different layers
- Change the position of layers to make layer content move
- Change layer opacity to make content fade in or out
- Change the blending mode of layers
- Add a style to layers
(FYI: you can only animate linear movements. Rotations need to be done frame by frame.)
You can generate new frames with slight changes between two existing frames easily and automatically using the Tween command in the animation palette. Tweening is a quick way to make an object move or fade into another shape. The button looks like a series of squares changing opacity:

In this case, I wanted to Tween my Yoga man between the 3 Yoga positions to make it look as though he is moving. I selected frame 1 and turned off the visibility of layers 2 and 3, so only Cobra and the Background layers were visible. Then I selected the 2nd frame in the animation palette and turned off the visibility of the Cobra layer, and turned on the visibility of the Downward Dog layer.
Ready to Tween the 2 layers: allowing Photoshop to create the movement for me of the little Yoga man between the 2 Yoga poses.
Tweening: First I held down the shift key and clicked on both frames of the animation palette, so they were both selected. Then I clicked on the Tween button (the series of squares at the bottom of the animation palette.)
My tween menu popped up and I made the following selections:
6 new frames have appeared in the Animation palette!

I did not preview the animation at this time, because I had not edited the frame delay – the rate at which the animation changes from frame to frame. The animation would therfore move too quickly. So next I …
Step 5: Set frame delay and looping options.
You can assign the delay time between each frame (do you want to go from frame to frame every 4 seconds or every .25 seconds? etc…) and specify looping, so that the animation will run over and over or just run through once. I have chosen .5 seconds on each frame. Just click on the tiny black arrow next to where it says “0 sec.” on the bottom of each frame in the animation palette. (I did this 8 times.)

Ready to preview the animation.
Now, press the play button on the bottom of the animation palette to play a preview of the animation. You can also preview the animation in your web browser.
Step 6: Edit layers of additional frames as needed for your project. The number of frames you can create is limited only by the amount of system memory available to you.
I had another Yoga pose to animate, so I created a new frame in the animation palette. With only that new frame selected, I turned on the visibility of the Forward bend layer and turned off the visibility of the other 2 Yoga pose layers.
Then I followed the same Tweening process, highlighting the new Forward Bend frame and the one just before it, pressed the tween button, and instantly added 6 new layers.
Then I selected my frame delays of .5 sec again for each frame.
I also made some manual changes to the layers, duplicating those I thought would show better action and making the frame delay longer on frames that showed the finished Yoga poses.

Step 7: Save the animation.
In Photoshop, go to File, Save For Web. Make sure gif is selected. There are control buttons on this window to see the animation as it will finally appear one last time before saving.

(In ImageReady you can also save it in SWF format, like a Flash file.) I strongly recommend saving the animation as a .psd in case you need to rework the animation later.
View my final animation here. Note that this is a basic elementary start to animation. As said earlier, if you need lots of detailed animation on your web site, this is not the program to use to handle that. Keep playing around - Soon you’ll be Photoshopin’ your own flip books!




May 17th, 2007 at 2:51 pm
[…] do not allow for animation. If you need some slight movement, use an animated gif. An Animated gif resaved as a jpg or png will lose its animation. You can use the Save As command […]
December 2nd, 2007 at 5:11 pm
Many thanks for the tips on creating a Gif animation!
i found your tips very useful, and so much simpler.
thanks again.
Danny
December 19th, 2007 at 11:52 am
Great walk through
January 2nd, 2008 at 7:09 pm
Great tutorial–I never knew it was that easy!
February 28th, 2008 at 10:11 am
great tutorial
March 9th, 2008 at 5:58 pm
this was a little bit helpful…..but not THAT much…even though it DID help me….
its still pretty useful
April 16th, 2008 at 8:46 am
Superb. The tutorial was short, but it still covered everything that needed to be covered. I went from noob to pro in gif making with just the help of this tutorial, and were able to make a very good looking banner. thanks a million times, dude! Keep up the good work!
May 7th, 2008 at 2:18 pm
Thanks, very helpful!!!
May 24th, 2008 at 10:15 am
VERY HELPFUL! HAD NO CLUE IT WAS THIS EASY!?
June 11th, 2008 at 4:10 pm
very helpful thanks.
July 21st, 2008 at 1:36 pm
Definetly didn’t know Photoshop had an option to make gifs. This really helped me big time. Thanks
August 6th, 2008 at 4:57 am
This was really useful for me…….
August 6th, 2008 at 4:58 am
Wow! I tried it and it worked out. I need some more examples for designing a banner.
August 7th, 2008 at 5:13 am
Awesome, thanks for this. Well explained and concise, just what’s needed from ps tutorials
August 22nd, 2008 at 11:16 am
wHoa! i made it.. thanks!
August 27th, 2008 at 10:44 am
Good tutorial. Nice and simple. Well done and many thanks.
October 16th, 2008 at 5:40 am
Thanks!
November 14th, 2008 at 11:25 pm
Wow!! : ) So easy to understand. Thank you.
November 20th, 2008 at 10:09 pm
awesome, thank you!
i replaced my regular logo with holiday logo that i made in about 5 minutes!
November 21st, 2008 at 12:14 pm
Great job Juliana - I like the ornament. Subtle but cute.
November 30th, 2008 at 6:33 pm
thanks for the fabulous tutorial! i have wondered how to do this for ages.
December 9th, 2008 at 12:12 am
Raffi,
Thank you for providing free tutorials. I just needed info about the tweens and you provided what I needed.
January 27th, 2009 at 8:38 am
As for the ” Just click on the tiny black arrow next to where it says “0 sec.” on the bottom of each frame in the animation palette. (I did this 8 times.)”
Photoshop allows multiple selection. You can select multiple layers and frames at once using ctrl or shift, as you would with any windows folder. Mac I don’t know, but I assume there’s the same kind of selection.
January 27th, 2009 at 9:05 am
Of course! Thanks for the shortcut Fresh!
February 9th, 2009 at 7:35 pm
Thank you A ton! This is so much easier than using Image Ready.
March 1st, 2009 at 12:28 am
Great tutorial! Now I can make a gif banner! X3 thanks a lot!
August 5th, 2009 at 11:19 am
Was almost about to get crazy with that Java Script. but yeah thanx for the help. It was easy.
September 24th, 2009 at 11:58 pm
[…] Adobe Photoshop can make them (I had no clue!)…Adobe ImageReady can too. So I found this awesome tutorial site (check it out) on how to make an animated GIF using Adobe Photoshop […]
October 13th, 2009 at 1:57 am
Hi, I have a question. How do I save an animated GIF so that it can play only once? I tried but I got a “file error” message. Please help, thanks. If possible, can you reply via my email or through my blogsite?
October 13th, 2009 at 9:08 am
I sent you an email - but so others can see the answer:
It’s usually the bottom left option of the animation palette. What version of PhotoShop are you using?
December 1st, 2009 at 12:26 pm
the details are so complex but the way you presented was so user-friendly, easy to understand and do… the complexity was reduced because of the step by step process which was explained thoroughly… it actually enhanced my knowledge about this GIF thing and i’ll try using them on http://www.wegif.com/ thanks a lot Raffi!
December 6th, 2009 at 7:38 pm
This was great! I am trying to meet a deadline and needed this information very quickly. It was simple. Thanks for sharing.
January 8th, 2010 at 3:30 pm
[…] Source: rdesignonline.com […]
February 13th, 2010 at 1:06 am
man, thanks. your tutorial is so much easier to understand than the other ones i found on the internet
April 13th, 2010 at 6:49 pm
Thank you. Years and years of Photoshop and I never had to make an animated GIF until today. Your tutorial was extremely helpful!
I did encounter one problem: It first didn’t work when I imported the GIF into Wordpress. It turns out that the GIF must be the exact size (450p across in my case) to work in WP.
Thanks so much!
-SV
May 19th, 2010 at 1:38 am
I never thought making a gif animation was that easy….!!
June 11th, 2010 at 10:10 am
thanks
now i can proudly say my frends that i know how to make gif file
thanks a lot
making us too easier
September 1st, 2010 at 6:15 am
really nice