PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

automatically change pictures in my web page

 
 
=?Utf-8?B?YWx3aWxscw==?=
Guest
Posts: n/a
 
      18th Dec 2004
I would like to have a picture on my site that changes every few seconds to
another picture from a folder of pictures.

Suggestions??
 
Reply With Quote
 
 
 
 
=?Windows-1252?Q?Rob_Giordano_\=28aka:_Crash_Gordo
Guest
Posts: n/a
 
      18th Dec 2004
http://www.dynamicdrive.com/
one of many sources for that kinda stuff.



"alwills" <(E-Mail Removed)> wrote in message news:BB2E135F-8BBC-46F8-B245-(E-Mail Removed)...
| I would like to have a picture on my site that changes every few seconds to
| another picture from a folder of pictures.
|
| Suggestions??
 
Reply With Quote
 
Guest
Posts: n/a
 
      18th Dec 2004
<?php

/*

AUTOMATIC IMAGE ROTATOR
Version 2.2 - December 4, 2003
Copyright (c) 2002-2003 Dan P. Benjamin, Automatic, Ltd.
All Rights Reserved.

http://www.hiveware.com/imagerotator.php

http://www.automaticlabs.com/


DISCLAIMER
Automatic, Ltd. makes no representations or warranties about
the suitability of the software, either express or
implied, including but not limited to the implied
warranties of merchantability, fitness for a particular
purpose, or non-infringement. Dan P. Benjamin and Automatic, Ltd.
shall not be liable for any damages suffered by licensee
as a result of using, modifying or distributing this
software or its derivatives.


ABOUT
This PHP script will randomly select an image file from a
folder of images on your webserver. You can then link to it
as you would any standard image file and you'll see a random
image each time you reload.

When you want to add or remove images from the rotation-pool,
just add or remove them from the image rotation folder.


VERSION CHANGES

Version 2.2
- Updated a few more potential security issues
- Optimized the code a bit.
- Expanded the doc for adding new mime/image types.

Thanks to faithful ALA reader Justin Greer for
lots of good tips and solid code contribution!


INSTRUCTIONS
1. Modify the $folder setting in the configuration section below.
2. Add image types if needed (most users can ignore that part).
3. Upload this file (rotate.php) to your webserver. I recommend
uploading it to the same folder as your images.
4. Link to the file as you would any normal image file, like this:

<img src="http://example.com/rotate.php">

5. You can also specify the image to display like this:

<img src="http://example.com/rotate.php?img=gorilla.jpg">

This would specify that an image named "gorilla.jpg" located
in the image-rotation folder should be displayed.

That's it, you're done.

*/

"alwills" <(E-Mail Removed)> wrote in message
news:BB2E135F-8BBC-46F8-B245-(E-Mail Removed)...
> I would like to have a picture on my site that changes every few seconds

to
> another picture from a folder of pictures.
>
> Suggestions??



 
Reply With Quote
 
Steve Easton
Guest
Posts: n/a
 
      18th Dec 2004
Here's an example.

Happy Holidays by the way.
Requires IE and javascript enabled for the transitions.

http://www.95isalive.com/card/index.htm
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

"alwills" <(E-Mail Removed)> wrote in message
news:BB2E135F-8BBC-46F8-B245-(E-Mail Removed)...
> I would like to have a picture on my site that changes every few seconds to
> another picture from a folder of pictures.
>
> Suggestions??



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automatically change page orientation to landscape when printing satnamsarai@gmail.com Microsoft ASP .NET 2 14th Jun 2007 05:10 PM
How to automatically change pictures =?Utf-8?B?TUFLRUlURUFTWQ==?= Microsoft Frontpage 2 16th Aug 2006 11:43 PM
Change page setup size without changing imported pictures Ron Microsoft Powerpoint 1 19th Dec 2004 01:02 AM
Page Navigation Levels Change Automatically! Davy Microsoft Frontpage 1 8th Nov 2004 11:19 AM
Change the size of pictures inserted into Front Page 2003? =?Utf-8?B?UGFtZWxhUw==?= Microsoft Frontpage 3 6th Oct 2004 12:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:04 AM.