Create an Animated .GIF in Photoshop CS5
June 29th, 2010 by Brian D'AlessandroLet’s say you have a folder full of images that you want to sequence together as frames in an animated GIF. You can find special programs online to do this, but with some of the new features of Adobe Photoshop CS5, it’s quite fast and simple.
- Gather the images you want to animate into one folder.
- Open a new document matching the dimensions of your source images.
- Select all of the source images and drag them together into Photoshop. Release them over the general workspace. The first image should show up with a superimposed “X.” New to Photoshop CS5, the images will stack one at a time as layers in your current document when you hit “Enter.” (In previous versions, dragging the files into the workspace would simply open each one up as separate files)
- Keep hitting “Enter” until all of the images are loaded as individual layers. Rearrange the layers into the correct order, if necessary.
- Open the Animation palette (Window > Animation).
- In the Animation palette menu (found at the top right corner of the palette), click Make Frames From Layers. You can also click Reverse Frames if needed. This will take each layer in your document and set it as an individual frame in the animation.
- Now we will change the duration of each frame. Make sure you are in frame view, not timeline view. If you do not see thumbnail icons of your layers in the Animation palette, click the icon in the lower right corner (the hover text will say “Convert to Frame Animation”). Now, back in the Animation palette menu, click Select All Frames.
- Click the drop down button just underneath each frame image (circled in red in the image below). This will bring up a menu where you can set a duration. Since all frames are selected, all frames will be set to the same time. Each frame can be changed individually, if desired.

- The drop down button circled in black in the image above will change how many times the animation will loop; either a fixed number of times, or forever.
- Once the frame order and timing as been set up, it is time to save the image! Click File > Save for Web & Devices, make sure the file format is set to GIF, change any other options if needed, and save the image!
You will now have an animated GIF taken from a folder full of the individual frames. In fact, as long as each frame exists as a separate layer in Photoshop, the Animation palette can be used to create the GIF. But, with CS5 it is easy to make separate layers from a folder of the individual frames as described.
Tags: Photoshop
Ross Says:
thanks – made a very difficult task for me easy!
Jenika Says:
This just helped me create a fabulous animated GIF for a photography client…THANK YOU! I couldn’t figure out how to drag the source images so that they had the “X” like you talked about, or hit “enter” to create layers (I’m new to photoshop) so I just copied and pasted all the photos as layers. I’m not sure what I missed there. But it all worked out in the end. Thanks!!
Wiggins Says:
Hey, just wanted to thank ya for this tutorial. I’m trying to make a cool forum signature, and this is just what I needed to make it awesome. THANK YOU!
Wiggins Says:
Sweet! Did just what I wanted with this tutorial! Thanks so much, again.
Here’s what I made.
http://img688.imageshack.us/img688/1356/wigginslaughingmansig.gif
Brian D'Alessandro Says:
Wiggins: Great! I’m glad the tutorial was useful!
Shari Says:
Brian, Thank you so much for your easy tutorial! I was able to put this together and upload it to my blog in all of 10 minutes! :) My only question is, how can I keep my images crisp and clear instead of looking fuzzy once I save it as a gif? On other blogs I have seen this same technique of still photos being animated and they are still sharp… any advice would be appreciated!
http://shortbutsweetlife.blogspot.com/2010/12/rawrrrr-rawrrr-rawrrr.html
Thanks again! Merry Christmas from Huntington Beach, CA!!
Brian D'Alessandro Says:
Your welcome, Shari! Glad my tutorial could help. With large size gifs like you have it is hard to get the clarity of a jpg, because gifs are limited to 256 colors at most. I would recommend playing around with the settings in the “Save for Web & Devices” window from the last step. Make sure the gif is using 256 colors. Also try changing the amount of dither & the dither algorithm (Diffusion, Pattern, or Noise) to see what looks best to you. Usually 100% dither using Diffusion is the default but it may depend on your image. Hope that helps!
Jean Says:
Dude. I love you so much right now. xD
koijoy Says:
i have a question….
when i save as a gif, it makes me flatten all layers. what should i do? Dx
Brian D'Alessandro Says:
Hi koijoy,
Make sure you go to File > Save for Web & Devices to save the GIF… If you just do File > Save As, it will ask for you to flatten layers, but that is not what you want. I hope that solves your problem.
Farah Says:
Hi Koijoy,
Today I cam across the same situation. Well here are the steps:
1. Save for Web
2. Save
3. In the fomat drop-down choose HTML and Images
Hope! it help :)
Rune Says:
Great tutorial, the step by step walk through made it so simple, managed to make a GIF contaning 10 layers in under 5mins :)
However I have a question, when I made my GIF is it possible to add another picture (or multiple) pictures into the current one? Tried to drag a new picture into the GIF hoping it added a new frame to the GIF. However it just corrupted the first layer(picture) in the GIF, hope you understand what I want to do and have a solution.
Best Regards
Rune
Brian D'Alessandro Says:
Hi Rune,
Thanks! Glad it could help. As for your question, I think I understand. If you are using CS5 and you drag another image into your current Photoshop document, it will appear with resizing handles and a superimposed “X.” Just hit Enter on your keyboard at this point & it should crate a new layer. If this doesn’t work (or if you have an earlier version), you can always create a new layer manually by going to the menu Layer > New > Layer. Then try adding your new image. It should put your image in the new empty layer instead of in your other layers.
Xavi Says:
Was looking for a project like this. I found like 5 and they were complicated, I found this one and wow, you made it so easy to understand. Thanks for such a great super quick tutorial. :)
misty Says:
hi there,
thanks for the great tutorial! i just have a question…
after saving it as a gif when i drag the gif into firefox it works perfectly but my boss who is on pc says its not working?
these gifs i have created are supposed to be embedded into e-mails and sent out as mailers to clients?
Brian D'Alessandro Says:
Hi misty,
Your welcome! I am not sure why it would not be working for your boss, I use a PC as well and gifs work fine in Firefox, Chrome, and Internet Explorer 8. Perhaps your boss has images blocked in the email program
Christopher Says:
I was able to do steps 1-9 successfully and have the animation that I want in the animation pane but when I go to Save> Save for Web & Devices… it is grayed out, am I doing something wrong?
Brian D'Alessandro Says:
Hi Chris,
It sounds like a problem with your program, I doubt you are doing something wrong (I personally have never seen this happen). There is a thread about the issue over at the Adobe forums: http://forums.adobe.com/message/2367719
It seems like the simplest solution is to just reinstall Photoshop. Hope that helps!
Christopher Says:
I found a workaround. I had to go to Image>Mode>16 Bits/Channel or 8 Bits/Channel. Now when I save it though it doesn’t look like the animation I created when I try to view it.
Jennifer Says:
This was so incredibly helpful. THANK YOU!!!
alan o Says:
Thanks a ton! all the videos on youtube are stupid and dont talk about simple image animations. i usually learn better watching first then doing as apposed to reading about something but you broke it down simple as can be! thanks again!
Enoir Says:
This tutorial is great! But I have a few questions. I made a gif with 16 pics. I resized them so they are relatively small. And the time is just set to .1 secs each. Is there any reason why this shouldn’t work? It works when I preview them in Firefox but not when I upload them to my blog. Any ideas?
Thanx!
Brian D'Alessandro Says:
Hi Enoir,
Thanks! If the gif works when you preview in Firefox, then there can’t be anything wrong with the file itself. I would guess that your blog software is improperly editing or resizing the image, causing it to lose the animation. If you have FTP access to your site, you could try uploading the file manually. Otherwise, you could try one of the free image hosting services out there & see if it works. Hope that helps!
Funniest Gifs Says:
The Gifs that i do can never be as good as ones others make :(
tii Says:
Perfect, i did this
http://fc05.deviantart.net/fs71/f/2011/152/9/8/don__t_u_know_that_your_toxic_2_by_nokia6630videos-d3ht5l6.gif
Best GIF EVEEERRR :D
Tim Says:
this tutorial is so good!
thanks so much!
nentautako Says:
good job bro. how is the beautiful earth without you.
Pejazzle Says:
Great Tutorial.
I did this:
http://www.adamandtheasbos.com/home/pejazzle
Jojo Says:
I am not able to save, since the ‘save for web devices’ option looks disabled. Please suggest.
Thanks in advance,
Jojo
Brian D'Alessandro Says:
Hi Jojo,
There is a thread about the issue over at the Adobe forums: http://forums.adobe.com/message/2367719
It seems like the simplest solution is to just reinstall Photoshop. Hope that helps!
Jojo Says:
Thanks a lot Brian.
Will let you know if it helps.
You are beautiful.
Emma Says:
You have no idea how long I’ve been searching for something like this!! Thank you so much :) I managed to make it work, but have a blank background sheet which I can’t delete. Do you know how I can get rid of it or how I can avoid it happening in the future? Many thanks in advance..
Brian D'Alessandro Says:
Hi Emma,
Your welcome! Your should be able to delete the background layer by right clicking it in the Layers palette and then clicking “Delete Layer.” Double clicking the background layer will also unlock it & convert it to a regular layer which you can then edit if needed. I hope that solves your problem!
Vineet Sharma Says:
Hi, Have a very weird experience. whenever I save GIF even after playing with options around, its not clear. The images develop dirty pixels. How can that be avoided and keep the GIF crisp and original?
I also wanted to know how can we make the effect of fading to second image. Because current setting just swaps image. I will appreciate your help.
Brian D'Alessandro Says:
Hi Vineet,
In the “Save for Web & Devices” box, lower the option called “Lossy” down to zero. It will make the file size bigger, but it should avoid the “dirty” pixels which I think you are describing.
To make two images fade, you will need to create the additional “in between” layers manually. I would make copies of your layers, and then use the Opacity value in the Layers palette, along with “Layer > Merge Down” to blend your images one at a time to end up with a set of frames, which when animated, appear to fade.
Hope that helps!
Amanda Says:
Thank you! This saved me an awful lot of time.
As a print designer, the thought of creating an animated GIF had me a bit confused!
Thanks again :)
Les Says:
I have just upgraded to CS5.1 and when I use the animation of an item on a white background I am getting a ghost image. (see http://www.teak.com/products/1ASR.gif). Any idea what is causing it?
cheers for the great tutorial.
Les Says:
ps I tried the lossy to zero but that doesn’t help
Les Says:
worked at the third attempt but not sure why
George Says:
Thanx for the great tips. I was able to make some proper animated gifs for my blogs. The first try it took me all day to edit…second time just under an hour :)
Cooladiria Says:
Test
http://img836.imageshack.us/img836/8091/wsig30.gif
Cooladiria Says:
Test again
http://img36.imageshack.us/img36/4639/wsig41.gif
Cooladiria Says:
Hey guys I need some help I’m doin everything said but it doesnt work
Look:
http://img17.imageshack.us/img17/4189/wsig46.gif
greg Says:
Awesome! Thanks guys. Very easy fix.
Jeff Says:
Thanks a million! It was just what I needed – fantastic!
Now my family can see our baby sitting up unaided in a cute little animation.
Thanks man!
Kahlia Says:
Hi I have a question. I’m confused about this part:
Select all of the source images and drag them together into Photoshop. Release them over the general workspace. The first image should show up with a superimposed “X.” New to Photoshop CS5, the images will stack one at a time as layers in your current document when you hit “Enter.” (In previous versions, dragging the files into the workspace would simply open each one up as separate files)
I have CS5, but when I select the caps that I want and I open them, they open up separately and there is no “X” superimposed on the first image.
Brian D'Alessandro Says:
Hi Kahlia,
There is another way you can try… go to File > Scripts > Load Files into Stack. From there, click Browse to load your image files & click OK. This should import the files you select as layers in your document & you can proceed with the rest of the animation steps. Hope that works for you!
kelly Says:
so i made the gif, tried to upload it to tumblr and it worked but it won’t play?! help~!
Sevenshade Says:
Really appreciated! Used here: http://sevenshade.deviantart.com/#/d48teu7
Bob Says:
Thanks so much. I was getting ready to dig out my VERY old copy of JASC Animation Work Shop. I tried searching for “animat” in the PS help system and found virtually nothing. Sites like yours are really a great service to those of us still learning. Great you take time to give back.
Greg Jones Says:
This is fantastic. Sorted my problem out in minutes.
Only question is, is there a way to slow down the transition between frames – e.g fade in/fade out or similar?
Thanks
Brian D'Alessandro Says:
Hi Greg, Thanks! To make a fade between frames, you need to crate the additional “in between” layers manually. I would make copies of your layers, and then use the Opacity value in the Layers palette, along with “Layer > Merge Down” to blend your images one at a time to end up with a set of frames, which when animated, appear to fade.
Mark Says:
Where can i find the “Make frames from layers” -__-
I can’t find it.
Ariel Says:
Hi, I need some help.
So I made a gif yesterday and everything was fine. But today I went to go make another one and where it says ‘Animation Frames’ it says ‘Animation Timeline’ How do I switch it back to frames?
Thanks so much if you can help me! (:
Brian D'Alessandro Says:
Mark,
The “Make Frames From Layers” is found in the menu which displays after you click the small icon at the top right corner of the Animation palette. The icon is small, but it is a little down arrow next to four horizontal lines.
Ariel,
In that same menu I just described (the Animation palette menu at the top right corner of the palette), click “Convert to Frame Animation” to switch back to frames. You can reverse this back by going into the menu again and clicking “Convert to Timeline.”
Ads Design Says:
Toooooooooo Good. Such a Nice and Easy way of telling the trick. I made my gif in just 10 minutes. too goog. Thank You Very Much
Sheryl Says:
Making the photo GIF was so easy. Now how would you take a swirl illustration and make it turn continuously clockwise so it looks like it is in constant rotation? Sort of like when you watch a hurricane on the news but this is just from a single illustration?
Thanks!!!
Brian D'Alessandro Says:
Sheryl,
To make it twirl, you need to create a series of individual frames where the graphic in each frame is slightly rotated compared to the one before it. You can start of by duplicating your layer (right click the layer, click “duplicate”). Then start a rotation transform on that layer (Edit > Transform > Rotate). In the top toolbar, there will be a box where you can enter the angle you want to rotate, it will have an angle icon & the degree sign. Put in a number like, 20 degrees & hit Enter. Next, just duplicate that new layer & repeat the same process. You can pick the angle you want to rotate depending on how many frames you want for the final animation. A larger angle gives you fewer frames, & a smaller angle gives you more frames. Just make sure the angle you pick is divisible by 360 so it lines up nicely in the end. Hope that works for you!
Rob Long Says:
Great Tuturial… I have been under the impression that I had to create an animation with Flash (Or QuarkExpress8)… but this is much better for animation sequences… Thanks for the help!
Nathan Says:
I just wanted to say thanks you really helped out :-)
Anne Says:
Thanks so much. 3:30, demand for an animated GIF before 4:00. 3;45, job done. You made my day!
kristen Says:
Hi so I was wondering what is wrong because I can’t drag pictures in to photoshop? Can I get help please? Thank you!
Brian D'Alessandro Says:
Hi Kristen,
There is another way you can try… go to File > Scripts > Load Files into Stack. From there, click Browse to load your image files & click OK. This should import the files you select as layers in your document & you can proceed with the rest of the animation steps.
Peter Says:
Hi Brian.
Thanks for posting this tutorial.
Do you know if the Photoshop animation/gif builder function requires Photoshop Extended? I’m on CS5 (but not Extended) and several of the options are grayed out or not functioning. I’ve done this before and am somewhat familiar with gifbuilders so I’m assuming its a software thing? Thanks, Peter
Brian D'Alessandro Says:
Hi Peter,
I do have Photoshop CS5 Extended, so I am not sure how the regular version compares. Sorry!
toqeer hanif Says:
very helpful for me dude.I try this in adobe community help but there i cannot learn and atlast i find this article.thanks
Amis Says:
now i know why my CS5 open it as a single layer, forgot to install QuickTime. Maybe easier work in Firework…
Thomas Says:
Thanks dude. One question only: I need to hyperlink each frame to a web page. Can I do that in photoshop too?
Brian D'Alessandro Says:
Hey Thomas,
No, that won’t be possible with any animated GIF. For something like that, you would need to look into creating a script, like javascript.
Pavan Says:
This process is amazing i have tried this process by drawing circular balls any ways enjoyed creating this animation,
Thanks for sharing this post.
PaulGif Says:
Making animated gifs sure is fun. You can also adjust other animated gifs, by exploding an existing animated gif into seperate images, and the use the seperate imageas of your choice to make your own….. Exploding animated gifs can be done for free on http://www.gifexploder.com — real easy!
gabby Says:
Great tutorial. Easy and very helpful. Thanks a mill.
Ed Says:
Nice tutorial, just one note: there’s an easier and more elegant way to create a layered Photoshop file via Adobe Bridge: select your images and choose Tools > Photoshop > Loads Files into Photoshop Layers…
This works also in previous CS version, not only CS5.
Sam Says:
Would have been a great tutorial, but I couldn’t find the “Animation palette menu (found at the top right corner of the palette)”.
Mac Adobe Says:
Mac Adobe…
[...]Tutorial to create an Animated .GIF in Photoshop CS5 | briandalessandro.com[...]…
Gledsley Says:
Thanks, man! Just saved my life… the designer made a mistake in the design and I had to fix it :P
It was nice and easy ;-)
Amy Says:
I tried the step by step but I’m not able to save it as the animated gif. It kept saving as a JPG and puts it in the “image” folder which kills me. Not sure if maybe something is wrong with my CS5?? I used to be able to do it in PS3?? HELP!
Brian D'Alessandro Says:
Hi Amy, In the Save for Web & Devices window, make sure that the file format is set to GIF (select it in the drop down box right below the word “Preset”). I’m not sure why it would save in an “image” folder, maybe your document has slices?
Rebecca Says:
I created the animation with PSDs and the .html file plays fine and looks good on my computer through Internet Explorer. However, when I attach it to an email and view it, the image doesn’t load at all (red “x”). It also won’t load on other computers. What am I doing wrong? Please help!
Thanks!
soft.music.job.xxx Says:
soft.music.job.xxx…
[...]Tutorial to create an Animated .GIF in Photoshop CS5 | briandalessandro.com[...]…
Rebecca Says:
Nevermind. I was attaching the .html link instead of the actual image file. Problem solved! :)
howie Says:
Brian, I would love some help. I am using CS5. I have blown up a .gif and can see the 16 frames in the animation window and 16 layers in my layers palette. I have added an item to each layer and then merged down my addition to the layer.
Unfortunately, although I can see the change in the layers palette, it is not represented in the animation window. Now when I play the animation, it just looks like a single frame, they are all the same.
What gives?
Brian D'Alessandro Says:
Hey Howie,
I am not sure why that would happen, I just tested merging a different layer to an existing layer, and the changes are automatically reflected in the animation window. Are you sure you don’t have an extra layer somewhere you don’t expect? Try changing the animation window to the Timeline view, then do “Make frames from layers” again, and see if that fixes it.
Adriana Says:
Hey Brian, I’m having some major issues.
When I play the GIF animation in the “Frame Animation” it’s too slow, even though it’s set to “no delay” between the frames. (It’s a clip from a video.)
But when I play the GIF in the “Timeline Animation” it’s perfect, then I go to save it with the “Save For Web and Devices”, I play it in that window, and it’s great again.
However, after I save it, and play it via IE, it’s just as slow as it was with the “Frame Animation” window.
I have no clue why it’s like that or what else to do. :/ Suggestions?
Marc H Says:
Thanks, awesome post. However all seems fine including the files saving however I cannot open them in safari, preview (‘it may be damaged or use a file format that preview does not recognise’) or anything else, and when I upload to Facebook it just shows an empty space. Any ideas? Many thanks! The file is saving as a .gif and .html version, and plays fine in all windows in CS5 up until the final file!
Brian D'Alessandro Says:
Hey Adriana, I wouldn’t recommend setting the frames to “no delay”… there has to be a certain delay in order for it to show the way you want, otherwise it may be inconsistent between programs (as you are seeing). If it is a video, and if the video plays at 30 frames per second, then you want your delay to be 1/30 = 0.033 s.
Marc, if you are also getting an HTML file, you might have slices set up in the document which means the image might be split up. I would make sure everything is on one slice, and save only as Images Only, not HTML and images.
jiby Says:
Thank you. It just helped me right well…
Liliane Lijn Says:
Thank you for your excellent clear and simple instructions.
Liliane Lijn Says:
Hi Brian
Could you also let me know the best way to view the animation? If I send it in an email to someone, how can they view it as an animation? In what application do the open it?
Many thanks
Liliane
Brian D'Alessandro Says:
Hi Liliane,
Your welcome! The animation file can be opened & viewed in any web browser: Firefox, Chrome, Safari, Internet Explorer, etc.
KChimwanda Says:
This is fantastic. You did a gr8 job, its now 20 months and its keeping great.
Many thanks