greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 16937

Show
Ignore:
Timestamp:
2008-08-21 12:36:08 (5 months ago)
Author:
ak19
Message:

Correction to setting new SourceFile? metadata

Files:

Legend:

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

    r16932 r16937  
    211211    # here we overwrite the original with the potentially converted one 
    212212    $doc_obj->set_utf8_metadata_element($section, "Source", &unicode::url_decode($filename_no_path)); # displayname of generated image 
    213     $doc_obj->set_utf8_metadata_element($section, "SourceFile", $filename_no_path); # displayname of generated image 
     213    $doc_obj->set_utf8_metadata_element($section, "SourceFile", $url_to_filename_no_path); # displayname of generated image 
    214214 
    215215    # use identify to get info about the (possibly converted) image