Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Animated Gif


  • Please log in to reply
11 replies to this topic

#1 Captain Jack Sparrow

Captain Jack Sparrow

  • Members
  • 11 posts
  • OFFLINE
  •  
  • Local time:12:06 AM

Posted 06 February 2007 - 08:25 PM

How (if possible) do i change the speed and assign loop to a .gif in HTML?
Sorry for any bad grammar or stupid questions; I'm only 13 years old.

BC AdBot (Login to Remove)

 


#2 Walkman

Walkman

  • Banned
  • 1,327 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:06 AM

Posted 06 February 2007 - 08:36 PM

You will need to use a program that can extract the frames from the .gif file. I use Animation Shop. But I'm sure there are FREE programs out there that can do the same thing.

Try a search for gif frame editor in the search engines. You may get lucky.

#3 Captain Jack Sparrow

Captain Jack Sparrow
  • Topic Starter

  • Members
  • 11 posts
  • OFFLINE
  •  
  • Local time:12:06 AM

Posted 06 February 2007 - 08:48 PM

I have the GIF, but how do i loop it on the website?
Sorry for any bad grammar or stupid questions; I'm only 13 years old.

#4 Walkman

Walkman

  • Banned
  • 1,327 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:06 AM

Posted 06 February 2007 - 09:51 PM

You either have to use a program, as I mentioned, or maybe you can use an HTML editor that will loop it for you.

Have you tried the search engines yet?

If the animation doesn't loop by default, then you will have to manipulate the frames so that it'll loop. What HTML editor are you using?

Bottom line, you either need a program that will change the frames for you, or you'll need an HTML editor that has that function to loop gif/animations.

Then again, there may be a code that you can insert into the page where it'll loop the gif. I'm not sure of that one though.

[Added Info]
Try these:

The 2nd one said it's fully functional for 15 days. That should do you.

Easy GIF Animator
http://www.blumentals.net/egifan/

Flex GIF Animator
http://www.webgraphicsoft.com/Flex-GIF-Animator/trial.htm

Edited by Walkman, 06 February 2007 - 10:05 PM.


#5 Captain Jack Sparrow

Captain Jack Sparrow
  • Topic Starter

  • Members
  • 11 posts
  • OFFLINE
  •  
  • Local time:12:06 AM

Posted 06 February 2007 - 10:05 PM

No html code?
Sorry for any bad grammar or stupid questions; I'm only 13 years old.

#6 Walkman

Walkman

  • Banned
  • 1,327 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:06 AM

Posted 06 February 2007 - 10:10 PM

No html code?

I'm not sure I follow you.

#7 Captain Jack Sparrow

Captain Jack Sparrow
  • Topic Starter

  • Members
  • 11 posts
  • OFFLINE
  •  
  • Local time:12:06 AM

Posted 06 February 2007 - 10:35 PM

When i make a .html document (using notepad) i use this code:
<html>
<title>title here</title>
<body>
<img scr=“image.gif” alt=“image”>
</body>
</html>


When i load the site i see the animation once, but i want it tn loop.

Edit: fixed code but still have the same problem

Edited by Captain Jack Sparrow, 06 February 2007 - 10:58 PM.

Sorry for any bad grammar or stupid questions; I'm only 13 years old.

#8 Walkman

Walkman

  • Banned
  • 1,327 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:06 AM

Posted 06 February 2007 - 11:01 PM

Have you checked out the links I posted?

Also, your code is missing the <head></head> tags

#9 Captain Jack Sparrow

Captain Jack Sparrow
  • Topic Starter

  • Members
  • 11 posts
  • OFFLINE
  •  
  • Local time:12:06 AM

Posted 06 February 2007 - 11:06 PM

I dont need gif editing i just want it to loop on the webpage. Sorry bout <head> i would normally put it there but i had to type quickly; its past “bed time”.
Sorry for any bad grammar or stupid questions; I'm only 13 years old.

#10 Walkman

Walkman

  • Banned
  • 1,327 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:06 AM

Posted 06 February 2007 - 11:26 PM

Read post no#2.

Gif files/animated files have information embedded into them that tells it what to do, and for how long, and for how many times. And as far as I know, you aren't going to get done what you're wanting to get done unless you use software to do it. You're trying to break the laws of physics. If there is a code that does it, without any software at all, I'll be glad to know it. But until someone posts the solution you're looking for, you're going to be here all night trying to get this done..... which by the way, if you've only tried out those links I've posted, you would have had your gif animating the way you needed it, and put up on the web site by now.

Here are some things to learn about gif files:

http://www.botos.com/anigif.html

and

http://www.wigglebits.com/animation.html

and.... the search engines. Just check them out. If you find a way to do what you want to do, the way you want to do it, please, by all means, post it here, so we all can learn from it.

#11 projectfocus

projectfocus

  • Members
  • 479 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Brighton
  • Local time:06:06 AM

Posted 07 February 2007 - 09:11 AM

It will not be possible to make the image loop unless you use a Javascript code in the HTML or a Gif animation program to break the gif apart and put it back together with a continuous loop option.
FocusToonSigStreched.jpg

#12 Walkman

Walkman

  • Banned
  • 1,327 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:06 AM

Posted 07 February 2007 - 09:41 AM

Now Javascript?...... I can see you looping it that way. But even still, I wouldn't do it that way, and that's because many people are using script blockers and that would defeat the purpose of using it. But, if you insist on hard coding it to loop for you (much more work than needed to make it work), try the link below:

JavaScript Primers #28
http://www.htmlgoodies.com/primers/jsp/article.php/3478411

I'm not a Javascript guy, so I hardly ever use it.. not unless it's mandatory for me to do so.

Things should also know... if you're going to do it by javascript you will:

1. have to have all the frames seperated... which you don't ... and that will require software for you to do.
2. even if they're seperated, you'll have to pre-load all of the images 1st, before it can loop, thus making your page take longer to load anyway.
3. Too much work involved just to animate a gif file.
4. You'll need to be familiar with javascript.. (not bad, if you just want to learn it or just get your feet wet)

But, using probably any gif software in the world, you can animate/loop your gif in less than 5 minutes. And you can get many of them for FREE.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users