This snippet is macro-expanded by genhtml
for each [picture] line in a captions file. Its original value is
<td class="piccell"><a href="$picimage.php">
<img class="picimage"
src="$picthumbsdir/$picimage.jpg"
title="$picalt"
alt="$picalt" $picthumbsize /></a></td>
When thumbs.pictd
is expanded the defined variables for genhtml
macro expansion are the variables defined in genhtml, the variables added for thumbsparms.php
and these additional definitions:
Symbol |
|
Value description |
picimage |
|
HTML encoded image name (without dot or extension) |
picext |
|
Extension for imagename (without dot) |
piccaption |
|
Caption |
picalt |
|
Caption without any <...> |
picthumbsize |
|
Dimensions of the thumb image (currently always empty) |