Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 11th Aug 2010, 02:51 AM   #1
HyperActive Warrior
 
Join Date: 2009
Posts: 315
Thanks: 10
Thanked 51 Times in 40 Posts
Default
Script for random image gallery
Share on: 
fb share twitter share gplus share more share

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?
terrapurus is offline  
Unread 12th Aug 2010, 09:36 PM   #2
Warrior Member
 
Join Date: 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Script for random image gallery
Share on: 
fb share twitter share gplus share more share

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.

evalauren is offline  
Unread 13th Aug 2010, 06:33 AM   #3
mad
Active Warrior
 
Join Date: 2009
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Script for random image gallery
Share on: 
fb share twitter share gplus share more share

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

mad is offline  
Unread 13th Aug 2010, 06:45 AM   #4
HyperActive Warrior
 
casius's Avatar
 
Join Date: 2010
Posts: 131
Thanks: 0
Thanked 8 Times in 8 Posts
Default
Re: Script for random image gallery
Share on: 
fb share twitter share gplus share more share

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 ;] .

Cloud VPS || Shared Hosting
Web Hosting Solutions for Geeks!
HOST1PLUS
casius is offline  
Closed Thread


Bookmarks

Tags
gallery, image, random, script


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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 01:26 PM.