Ignore:
Timestamp:
2010-03-01T13:03:47+13:00 (14 years ago)
Author:
kjdon
Message:

should be using assocfilepath instead of archivedir

File:
1 edited

Legend:

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

    r18327 r21742  
    533533    $doc_obj->add_metadata($section, "PageTitle", $pagetitle);
    534534    $doc_obj->add_metadata($section, "ThumbURL",
    535                "_httpprefix_/collect/[collection]/index/assoc/[archivedir]/$fn.thumb.jpg");
     535               "_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/$fn.thumb.jpg");
    536536    $doc_obj->add_metadata($section, "FileFormat", "W3Img");
    537537
     
    555555    $doc_obj->associate_file($filepath, $onlyfn, undef, $section);
    556556    $doc_obj->add_utf8_metadata($section, "CacheURL",
    557                    "_httpprefix_/collect/[collection]/index/assoc/[archivedir]/$onlyfn");
     557                   "_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/$onlyfn");
    558558    }
    559559    return 1;
Note: See TracChangeset for help on using the changeset viewer.