Ignore:
Timestamp:
2010-08-17T17:30:28+12:00 (14 years ago)
Author:
mdewsnip
Message:

Changed "srcicon" values in ImageConverter.pm and ImagePlugin.pm to use "[srclink_file]", for consistency.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/ImagePlugin.pm

    r22655 r22658  
    133133    $doc_obj->add_metadata ($section, "srclink_file", "[SourceFile]");
    134134    # 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]\">");
    136136
    137137    # 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'} . "\">");
    139139    }
    140140    #we have no text - adds dummy text and NoText metadata
Note: See TracChangeset for help on using the changeset viewer.