Changeset 18526 for gsdl/trunk/perllib


Ignore:
Timestamp:
2009-02-16T16:24:10+13:00 (15 years ago)
Author:
ak19
Message:

By some oversight, srcicon seems to have been fixed to a width of 100 instead of producing full size images. Thanks to Vladimir Risojevic for finding this bug and testing the correct solution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/ImageConverter.pm

    r18466 r18526  
    232232    $doc_obj->add_metadata ($section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/$assocfilemeta/[Image]\">");
    233233    $doc_obj->add_metadata ($section, "/srclink", "</a>");
    234     $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpprefix_/collect/[collection]/index/assoc/$assocfilemeta/[Image]\" width=\"100\">");
     234    $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpprefix_/collect/[collection]/index/assoc/$assocfilemeta/[Image]\" width=\"[ImageWidth]\" height=\"[ImageHeight]\">");
    235235
    236236    # Add the image as an associated file
Note: See TracChangeset for help on using the changeset viewer.