MSA - Matt's Script Archive SurveyFactory - Create and publish online web surveys
 Matt's Script Archive: Random Image DisplayerVersion: 1.2 - Released: July 17, 1996
 
  Other sites by Matt:
 FormMail.com
  - hosted form processor
 SurveyFactory
  - hosted survey software
 CGI Resource Index
  - 3,000+ Perl Scripts!
 PHP Resource Index
  - 2,000+ PHP Scripts!
 chumpsoft, inc.
  - online survey software


  Matt's Script Archive
    FormMail
    Guestbook
    WWWBoard
    Simple Search
    Counter
    TextCounter
    Random Text
    TextClock
    Free for all Links
    Random Link
    HTTP Cookie Library
    Countdown
    > Random Image 
      Readme
      Download
      FAQ
    SSI Random Image
    TextCounter C++
    TextClock C++

Overview
Random Image Displayer allows you to set up a list of images and then randomly display them as inlined images or background images. Called from a normal image tag, no Server Side Includes are necessary, however if you wish to have an alt tag, height, width, associated link and more associated with the proper random image, you should check out the SSI Random Image Displayer, which does require that you have Server Side Includes. There are several downloading options available below and more information on this script can be found in the Readme file.
Readme
The Readme files at Matt's Script Archive contain detailed installation, configuration and usage instructions that will take you step by step from putting the scripts on your system to using them in your web pages. You should read these through and keep them by you when setting up or installing any MSA script. It is probably not a bad idea to print them out. Each compressed script package contains a plain text version of the Readme file, however the links below will take you to their HTML counterparts.

      Readme Files: Random Image Displayer:
            - Copyright and Header
            - Overview
            - rand_image.pl
            - Example
            - How do I implement this on my pages?
            - Things to be careful of
            - History
Download
Random Image Displayer can be downloaded in several different formats, or you can even have it mailed to you as a uuencoded file. Click on one of the links below to the appropriately compressed file and download options will appear.
Random Image file format: .zip (2.4kb), .tar.gz (2.6kb), .tar (10.3kb) 
The above distributions contain the following files you may wish to view:

      rand_image.pl - This is the perl script randomly selects an image and displays it.
      README - Includes installation instructions and a detailed description of use.
Working Demo
Several scripts at Matt's Script Archive lend themselves well to local working demonstrations. Random Image Displayer is one of these and the working demo is available below.

      Random Image Displayer Working Demo
Frequently Asked Questions
The Frequently Asked Questions Archive at MSA is the easiest and fastest way to get help. It contains a list of the most commonly asked questions as well as their answers. Check these out before you seek other means of help, as your question may be answered here already.

      Frequently Asked Questions: Random Image Displayer:
            1. How can I add links and alt text to the image?
nms Random Image Displayer
The following is a drop-in replacement for Random Image Displayer developed by a project called nms. We have also supplied info about their goals and modifications.
nms Random Image Displayer file format: .zip (4.7kb), .tar.gz (3.6kb) 

 

perlQuestionnaire - Online Survey Software
[ Linking to MSA | Advertising Opportunities | Contact Matt ]
© 1995 - 2009 Matt Wright and Matt's Script Archive, Inc.