Changeset 22658 for main/trunk/greenstone2/perllib/plugins/ImagePlugin.pm
- Timestamp:
- 2010-08-17T17:30:28+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/ImagePlugin.pm
r22655 r22658 133 133 $doc_obj->add_metadata ($section, "srclink_file", "[SourceFile]"); 134 134 # We don't know the size of the image, but the browser should display it at full size 135 $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[ SourceFile]\">");135 $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[srclink_file]\">"); 136 136 137 137 # Add a fake thumbnail icon with the full-sized image scaled down by the browser 138 $doc_obj->add_metadata ($section, "thumbicon", "<img src=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[ SourceFile]\" width=\"" . $self->{'thumbnailsize'} . "\">");138 $doc_obj->add_metadata ($section, "thumbicon", "<img src=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[srclink_file]\" width=\"" . $self->{'thumbnailsize'} . "\">"); 139 139 } 140 140 #we have no text - adds dummy text and NoText metadata
Note:
See TracChangeset
for help on using the changeset viewer.