Changeset 18526

Show
Ignore:
Timestamp:
16.02.2009 16:24:10 (11 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.

Files:
1 modified

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