thumbnail.gp



Creator information
Current maintainer :Max Maischein
Author(s) :Max Maischein
Recipe homepage :<none>

Version history
The documentation file was last modified on Tue Nov 29 18:22:58 2016.

Overview
thumbnail.gp is a simple image inclusion recipe used for linking a small image with an enlarged version of that image.
Compatible Genpage Versions
Version 1.0.3 and above.
Syntax
thumbnail( aLargeImageURL )

aLargeImageURL is the URL of the large image, the URL of the small image is assumed to be the same as the URL of the large image except that the name of the small image is "t_LargeImageName".


Examples

First of all, the file thumbnail.gp must be included in some content by using <!-- _GP_ recipe( "thumbnail.gp" ) -->.

Let's assume that there are two files, Image.jpg and t_Image.jpg, and that t_Image.jpg is the thumbnail image.
<!-- _GP_ thumbnail("Image.jpg") -->

This will result in the following HTML :

<A href="Image.jpg"><IMG src="t_Image.jpg;"></A>

That's all there is to it.


To-do List

Known Bugs
None known :)

Back to Top


This page generated using Genpage - Version: 1.0.7 on Wed Nov 30 16:34:11 2016

© Max Maischein
1999