“I take my children everywhere, but they always find their way back home.” - Robert Orben
Advanced Random Picture
Using this more advanced random picture PHP script you can have a random web picture on a page which is made up of several pictures layered on top of eachother. This is the same script used on this site (at the top of this page), taking several images to make a more random picture.
Download the demo from here, extract it to your PHP5 (or probably PHP4) enabled website.
Add background pictures with a .jpg extension to the ./Images/Background folder. Add main images with a .png extension to the ./Images/Main folder. Add text images with a .png extension to the ./Images/Text folder. Then go to the index.php. All these images, and the Boarder.png need to be the same resolution, and the width of the image should be in the #wrapper width in the style.css, and the height should in the #body.
You can checkout the PHP demo page here. Keep refreshing the page and a new random picture will be displayed.
All examples, instructions, tutorials, custom code, and documents created by Brian Hoover on this site are in acordance with the Createive Commons Attribution 3.0 license.
This means you are free to take, and modify any thing on this site, even for commercial use, as long as Brian Hoover is cited as the original creator, and that http://www.brian-hoover.com is the original source.
Everything on this site is taken as-is, and no support contract or warrantees are in place for obligated continued support. If you have questions about the content on the site feel free to contact the Webmaster.
This work by Brian Hoover is licensed under a Creative Commons Attribution 3.0 United States License.
Based on a work at www.brian-hoover.com.