Reply
Random Photo + Thumbs
Old 05-05-2008, 09:46 AM Random Photo + Thumbs
Average Talker

Posts: 16
Hi Folks,

I've been looking at photo galleries, Its not really a Gallery I'm looking for but I do want to display photo's just on my Index..

The thing is I'd really like a Script that would produce a Random image from a folder or somthing..

3 to 4 Small Thumbs verticaly then when you hover over them you get a bigger version somthing like the following links As I like that..

http://www.dynamicdrive.com/style/cs...image-gallery/
http://www.huddletogether.com/projects/lightbox2/
_______

How could I put this together ?

Thanks alot,
loyalblue is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Old 05-05-2008, 10:12 AM Re: Random Photo + Thumbs
chrishirst's Avatar
Super Moderator

Posts: 10,783
Location: Blackpool. UK
and the server side code would be?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-05-2008, 01:45 PM Re: Random Photo + Thumbs
nickohrn's Avatar
Weightlifting CS Student

Posts: 495
Name: Nick Ohrn
The client side part will be easy for you. Just grab that lightbox script and program your server side script to output the images in the correct format. I would try to help you with the server side portion, but I'm not sure what language or setup you've got going on, so I'll refrain for now.
__________________
NickOhrn.com - My personal haven of insight to offer the world.
Plugin-Developer.com - Custom plugin development to fit your needs. Plugins available for WordPress and Drupal, among others.
nickohrn is offline
Reply With Quote
View Public Profile Visit nickohrn's homepage!
 
Old 05-06-2008, 05:13 AM Re: Random Photo + Thumbs
Average Talker

Posts: 16
Hi mate,

Thanks for the starting directions, I've set up the lightbox scripts into my template, It's actually very good it was surprised how easy it was and to use, All you need to do is add a Rel attribute to an image for it too work, So I only need Src, Hred, Rel and Title..

My set up is i'm using a main index.php and brining includes in and using a table to bring content in.

What do you recommend or suggest for Random images script?

What I was thinking was having a seperate include for all linked images with there tags and a Random Script code either on the index of whever to Randomize and pick so many images out of the file...I really dont know to be honest..

Thanks,
loyalblue is offline
Reply With Quote
View Public Profile
 
Old 05-08-2008, 11:32 AM Re: Random Photo + Thumbs
Average Talker

Posts: 16
Any ideas mate?

Thanks
loyalblue is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Reply     « Reply to Random Photo + Thumbs
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML


Page generated in 0.12732 seconds with 15 queries