Script for random image gallery

3 replies
Hello all I am after suggestions for a good random image gallery script. What I was wanting was a table of images (say 15 to a table with 3 rows of 5). Each image is randomly selected from a db or folder. Click on the image and it takes you to the html page for that image. Think of a photography gallery where you see different items of work each time you refresh the page. What I have seen in my travels are - 1 Script for random image gallery (think it was javascript - not too sure as it was a few months ago when I first had a look), but no links allowed. 2. Script (again it was java) that would allow you to have 1 random image. Not too sure if this nicely scales up to a table of multiple images. Besides they are not genuinely random. That is, they follow a set sequence. Adult sites do it all of the time, so it is possible. Have you seen a good script in your travels?
#gallery #image #random #script
  • Profile picture of the author evalauren
    From all of above I want ti include a nice new addons allows you to customize the comment system to display on it's own page rather than popups, giving your gallery little professional and the view photo proprties gives more detailed information on a single page with thumbnails giving nice look.
    {{ DiscussionBoard.errors[2464504].message }}
  • Profile picture of the author mad
    You can generate a random number with php and call this number as an ID from the database. Count your rows with mysql_num_rows and limit the php random number to this number
    {{ DiscussionBoard.errors[2465952].message }}
  • Profile picture of the author casius
    Or you just can upload images to one directory named as numbers (if name doesnt matter at all) and just <img src=... them with random number ;] .
    Signature
    Cloud VPS || Shared Hosting
    Web Hosting Solutions for Geeks!
    HOST1PLUS
    {{ DiscussionBoard.errors[2465991].message }}

Trending Topics