add image handling to file pile

This commit is contained in:
JT Smith 2004-12-25 18:41:04 +00:00
parent 856ee6fd18
commit 892191fa3b
2 changed files with 6 additions and 2 deletions

View file

@ -156,7 +156,7 @@ sub getEditForm {
my $storage = WebGUI::Storage->get($self->get("storageId"));
$tabform->getTab("properties")->readOnly(
-label=>"Thumbnail",
-value=>'<a href="'.$storage->getUrl($self->get("filename")).'"><img src="'.$storage->getUrl("thumb-".$self->get("filename")).'" alt="thumbnail" /></a>'
-value=>'<a href="'.$storage->getUrl($self->get("filename")).'"><img src="'.$storage->getUrl("thumb-".$self->get("filename")).'?noCache='.time().'" alt="thumbnail" /></a>'
);
}
return $tabform;