Forum:Possible alternative to gallery tag

Description
I worked out a template, imitating the tag, but more similar to its old behaviour. Here is a couple of examples:

Default:

Let's change parameters:

Supported parameters:
 * width and height - width and height (in pixels) of the rectangle in which thumbnail is inscribed. Default values 120 and 120.
 * position - left, center, or right - align of gallery itself (default:center)
 * captionalign - left, center, or right - align of captions (default:left)
 * captiontextcolor - color of captions (default:black)
 * captionsize - font size of captions (for example: 8pt, 0.7em, etc.) NB: it differs from analogous parameter of tag.

Limitations in comparison to tag:
 * It looks well in Firefox, but I'm not sure about other browsers.
 * no support of columns (or perrow) parameter
 * no "Add" button (but do you really use it?)
 * no support of bordercolor, bordersize parameters, but it can be implemented if needed
 * no support of spacing parameter (but something similar can be implemented if needed)
 * not more than 10 images yet, but this number can be easily raised up to any finite value (20 will be enough for all practical cases, I think).

Ruxax 16:47, August 10, 2010 (UTC)