A LIST Apart: For People Who Make Websites

No. 160

Discuss: Random Image Rotation

Pages

« First  <  4 5 6

51 .swf files

someone asked earlier if this can work with .swf files. will it? i imagine all you have to do is add .swf to the $extList
i haven’t done it yet but hopefully it works.

posted at 02:12 pm on December 18, 2003 by paul

52 no worky

Ok, I’m trying to view a local file (its not on the server yet, just my comp) and I get nothing, just a red x. Is there something I’m missing here about php??

posted at 03:40 pm on January 8, 2004 by brian

53 having trouble, myself.

Does the page the image link resides in need to have a .php extension, or will just .html do?
I’ve tried both at
http://artsaloft.com/rotate.html
and it doesn’t seem to show up.
Anyone able to advise?

posted at 08:29 pm on January 9, 2004 by Richard S. Kolseth

54 No Problems at all

Hi
Just wanted to add a big ‘Thanks’
Installed the script and it worked first time, even mixed in on an asp page.
Can’t really ask for more than that.
Keep up the great work, just starting with PHP and it helps a great deal to be able to view these sort of scripts
Again, thank you …..

posted at 04:50 pm on January 11, 2004 by John Bendall

55 In sequence?

All of the rotators I have seen are random. I realize that sequencing might require cookies or some messin’ wit da session, but is it possible (I have no clue) to place all the file names in a text file and have them “walked through” instead of randomized?

This wouldn’t work for this rotator (I don’t think), but is there another out there that will sequence, maybe even without the cookies, etc.?

Now that would be cool. Five PAYPAL dollars are yours if you can point me to one that will.

There, the gauntlet hath been…um, lain.

posted at 01:23 pm on January 12, 2004 by Keith

56 Got it!

For some unknown reason, my server won’t process php files unless they have the extension .php4

sigh have to ask tech support about that.
But the script does work, just fine!

posted at 06:48 pm on January 12, 2004 by Richard S. Kolseth

57 img = a link

can you make each image link to a differetn site? <a

posted at 07:41 am on January 23, 2004 by Jason Davis

58 uhh

I cant get any of the scripts to work? I’ve made folders…put them in with the images…made a page with an image…linked the php script? all i get is a red x…

posted at 04:16 pm on January 31, 2004 by CE

Pages

« First  <  4 5 6

Discussion Closed

New comments are not being accepted, but you are welcome to explore what people said before we closed the door.

Got something to say?

Discuss this article. We reserve the right to delete flames, trolls, and wood nymphs.

Create a new account or sign in below if you’d like to leave a comment.

Remember me

Forgot your password?

Subscribe to this article's comments: RSS (what’s this?)