| | 121 | # all we do is add the original image as an associated file, and set up srclink etc |
|---|
| | 122 | my $assoc_file = $doc_obj->get_assocfile_from_sourcefile(); |
|---|
| | 123 | my $section = $doc_obj->get_top_section(); |
|---|
| | 124 | |
|---|
| | 125 | $doc_obj->associate_file($filename_full_path, $assoc_file, "", $section); |
|---|
| | 126 | |
|---|
| | 127 | $doc_obj->add_metadata ($section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile]\">"); |
|---|
| | 128 | $doc_obj->add_metadata ($section, "/srclink", "</a>"); |
|---|
| | 129 | $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile]\" width=\"100\">"); |
|---|
| | 130 | |
|---|