Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 07:58 am EST
Geeklog Forums
Alternating Header Images
Status: offline
newblogger
Forum User
Regular Poster
Registered: 08/22/04
Posts: 107
Location:Virginia Beach
I have searched the forums here, and I suppose I'm just not using the right search string. Right Now my site is up and running with very smoothly and I am using an animated gif in my header. The gif is very large 5 Mb or so. I also have it in a flash format, but believe it or not there are alot of people out there without flash installed. Basically what I have done is cut the gif into 6 different header iamges, and I would like to rotate this through automatically as the page refreshs. Anyone have any clue on how I would do this? There is a script out there somewhere I'm assumming. Thank You.
Got Hot wheels? http://www.dcmotoring.com
Got Hot wheels? http://www.dcmotoring.com
8
5
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by newblogger: believe it or not there are alot of people out there without flash installed.
Here's one of them
Quote by newblogger: Anyone have any clue on how I would do this?
You can use PHP in header.thtml and PHP has this nice random function ...
bye, Dirk
8
6
Quote
Status: offline
knuff
Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Quote by newblogger: The gif is very large 5 Mb or so ...
You must be kidding ... putting 5 x 1Mb GIF in your header ...
Even if people don´t have Flash installed and do have a very good broadband connection a 1 Mb GIF can easily choke up older computers ...
Unless you have a very selective targeted audience that will accept such a thing, I would suggest to reconsider ...
Just my
Vanrillaer.com - our Family Portal
8
7
Quote
Status: offline
newblogger
Forum User
Regular Poster
Registered: 08/22/04
Posts: 107
Location:Virginia Beach
I have incorporated a php solution that alternates images for me. I'm not a php coder but i found this hereI have it working now at my site. I really did like my mini movie, but this will do. Thanks everyone.
Got Hot wheels? http://www.dcmotoring.com
Got Hot wheels? http://www.dcmotoring.com
22
6
Quote
Status: offline
knuff
Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Hi Newblogger,
Since I noted they are static images now, may I suggest you change them into a jpeg format and don´t use gif.
Since they are mainly "images" and not graphics, you can easily lower the size of your images from your current 150 Kb to something as a 20 Kb with the same or even a better quality if you use optimized jpegs instead of gifs.
Just another copper, but truely worth the efforth.
Good luck with the 4x4
Boris
Vanrillaer.com - our Family Portal
Since I noted they are static images now, may I suggest you change them into a jpeg format and don´t use gif.
Since they are mainly "images" and not graphics, you can easily lower the size of your images from your current 150 Kb to something as a 20 Kb with the same or even a better quality if you use optimized jpegs instead of gifs.
Just another copper, but truely worth the efforth.
Good luck with the 4x4
Boris
Vanrillaer.com - our Family Portal
7
8
Quote
All times are EST. The time is now 07:58 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content