================================================================== Snippet-title: nasa v1.0 Creator: Graham Keellings E-mail: pivot@keellings.com Website: http://www.keellings.com/software/pivot.php Creation date: 5 October 2005, London, UK ================================================================== Content of zipped file: ----------------------- snippet_nasa.php readme_nasa.txt (this file) Usage: ------ 1) unpack this package in your extensions/snippets/ folder. 2) place a [[nasa]] tag, with the appropriate parameter, in any of your template files, whereever you want the output to appear. 3) rebuild the FrontPage(s). Description: ------------ * A snippet to display NASA's "image of the day". Returns HTML to display the * small image (215 x 161 pixels), or the large image (516 x 387 pixels), or * the small image as a large as a pop-up to the large (or the page conatining * the large image), as indictaed by the snippet's parameter. * * Visit http://www.keellings.com/blog/_demos/nasa.php to see it in action * Parameters: ----------- * @param string display - 0 (default) - show small image, when clicked, * opens the NASA page which shows the large * image in a new window * 1 - show small image, when clicked, opens the * large image in a new window * 2 - show the small image only * 3 - show the large image only * * @return The requested HTML, as specified by the parameters. *