This package can draw diagrams of hierarchy trees defined in XML files.
The diagram class is a follow-up of another class released here before. Instead of arrays, now it uses XML to define the diagram.
It also implements more features supporting: borders, text colors, fonts, text alignments, backgrounds, paddings, margins, text over the node connections and the thickness of the connections.
The tree XML files define the structure of nodes of the tree as well the graphical attributes that define details of how the diagram should be rendered.
This package implements an image gallery that uses a GMail account to store the images.
This package is inspired in GImage, a PHP script available on the Web for a similar purpose.
This class makes use of the libgmailer class to access your Gmail account. There is a libgmailer subclass to fetch the thumbnails generated by Gmail, thus reducing the bandwidth that is necessary to fetch and present a gallery.
This is a simple class that can generate a thumbnail graphic of a given image.
The class generates a thumbnail graphic that keeps the proportion of original image and at the same time neither the width nor the height do not exceed a given size.
The class reads the original image using a given file name. It detects the image type checking the file name extension. It supports either GIF, JPEG and PNG formats.
The thumbnail image is stored in another file given its file name. The output image format is also determined from the output file name extension. The supported output formats are the same.
This class is meant to generate thumbnails for images that can be processed with optional color filters and be presented in HTML pages with optional full scale zoom links.
Currently the supported color filters are grayscale, red, green, blue, yellow, magenta, cyan and black.
The full scale image link opens in popup window and displays the description of the picture.
The attributes of the thumbnail image tag maybe defined to set attributes like id, class, style and other event attributes (onmouseover, onclick, etc.).
This package can be used to generate thumbnails of images stored in a given directory.
It traverses a given directory and generates thumbnails of files with the extensions .gif, .jpg and .png, ignoring files that start with _ character.
The thumbnail images files are stored in a sub-directory named thumbs. Once created, the upto date thumbnails will be skipped to avoid unnecessary reprocessing.
The thumbnails may have limited width, height or both. The thumbnail file names may have custom prefixes, eventually associated to their size limit.
The class returns a bidimensional array of images and thumb file paths.
Additionally, there is a class to output a listing thumbs as a page using a template.