print "\t";
printf('<label for="%s">%s:</label> ', $col, ucfirst($colconf['label']));
if (@$colconf['type'] == 'file' and isset($colconf['value'])) {
- printf('<img src="/%s" /><br />', $colconf['target']);
+ printf('<a href="/%s"><img src="/thumb/%s/%s" /></a><br />',
+ $colconf['target'],
+ 200, $colconf['target']
+ );
}
print "<input";
if (empty($colconf['target'])) print ' readonly';