PDA

View Full Version : three random image script/code


Chimpie
02-21-2009, 12:55 AM
I would like to have a module in vBadvanced pull three random images from a directory, making sure that it doesn't pull the same image twice in one load, and have the images each linked to a specific page.

For example:
When the page loads, the module shows image1.jpg, image2.jpg and image3.jpg. If you click on image1 it takes you to pageid=link1. Click on image2.jpg, you go to pageid=link2, and so forth.

Next page load may show image1, image6, and image4, with clicks taking you to link1, link6 and link4 respectively.

Is this possible? Does anyone know how to code this? Would anyone be willing to code this for me? :D

Dismounted
02-21-2009, 02:55 AM
Is this possible?
Nearly everything is.
Does anyone know how to code this?
I'll be surprised if there isn't.
Would anyone be willing to code this for me?
If you know PHP, we can guide you through it. However, if you don't, you will have to find someone (the best chance you have is by posting a paid request).