Ignore:
Timestamp:
2011-07-04T19:43:43+12:00 (13 years ago)
Author:
ak19
Message:

Still on ticket 449. Now srclink_file metadata (contains an underscore that makes things difficult for GS3) is renamed to srclinkFile. Related commits are in GS2's runtime-src formattools.cpp and dublincore.cpp and GS3's default/transform/config_format.xsl and Action.java.

File:
1 edited

Legend:

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

    r23757 r24225  
    258258    }
    259259
     260    # srclink_file is now deprecated because of the "_" in the metadataname. Use srclinkFile
    260261    $doc_obj->add_metadata ($section, "srclink_file", $url_to_filename_no_path);
    261     $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpprefix_/collect/[collection]/index/assoc/$assocfilemeta/[srclink_file]\" width=\"[ImageWidth]\" height=\"[ImageHeight]\">");
     262    $doc_obj->add_metadata ($section, "srclinkFile", $url_to_filename_no_path);
     263    $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpprefix_/collect/[collection]/index/assoc/$assocfilemeta/[srclinkFile]\" width=\"[ImageWidth]\" height=\"[ImageHeight]\">");
    262264
    263265    # Add the image as an associated file
Note: See TracChangeset for help on using the changeset viewer.