DPChallenge: A Digital Photography Contest You are not logged in. (log in or register
 

DPChallenge Forums >> Hardware and Software >> looking for an image "randomizer"
Pages:  
Showing posts 1 - 5 of 5, (reverse)
AuthorThread
11/08/2004 10:11:51 PM · #1
Dear DPCer programmers

on my personal front page I would like my main image to change everytime you come to my site. I've seem this before.

Is their an easy way to do this. I'm not a programmer but I use DreamWeaver to make my site. Maybe some simple java script or something?

Thanks!!

11/08/2004 10:18:44 PM · #2
whoa! dunno about answering your question but the pic on the front right now is PHENOMENAL!
11/08/2004 10:29:33 PM · #3
Random Image Script (PHP)

Above works if you use PHP on your website.

Random Image Script (javascript)

Above works if you want to use javascript.

If you dont like either then you should be able to find plenty of different types on a google search.
11/08/2004 11:13:50 PM · #4
Ideally, this type of stuff should be taken care of on the server side. If you do it on the client side (i.e with a Java script), then all the images from which a random one is to be picked will be downloaded to the client, and that will cause delays in loading and opening the page. The more images to be loaded and the larger the size of these files, the longer the delay.
11/09/2004 01:04:36 PM · #5
Originally posted by moodville:

Random Image Script (PHP)

Above works if you use PHP on your website.

Random Image Script (javascript)

Above works if you want to use javascript.

If you dont like either then you should be able to find plenty of different types on a google search.


Thanks moodville!!! that's exactly what I need!! You're the best!! :-)
Pages:  
Current Server Time: 09/13/2025 04:14:32 AM

Please log in or register to post to the forums.


Home - Challenges - Community - League - Photos - Cameras - Lenses - Learn - Help - Terms of Use - Privacy - Top ^
DPChallenge, and website content and design, Copyright © 2001-2025 Challenging Technologies, LLC.
All digital photo copyrights belong to the photographers and may not be used without permission.
Current Server Time: 09/13/2025 04:14:32 AM EDT.