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
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