Changeset 5078


Ignore:
Timestamp:
2003-08-04T10:39:24+12:00 (21 years ago)
Author:
mdewsnip
Message:

Fixed bug where ScreenHeight and ScreenWidth would not be set if screenviewsize was set to the width or height of the image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ImagePlug.pm

    r4908 r5078  
    277277        $doc_obj->add_metadata ($section, "ScreenHeight", $2);
    278278    }
    279    
     279    else {
     280        $doc_obj->add_metadata ($section, "ScreenWidth", $image_width);
     281        $doc_obj->add_metadata ($section, "ScreenHeight", $image_height);
     282    }
     283
    280284    #add the screenview as an associated file ...
    281285    if (-e "$screenviewfilename") {
Note: See TracChangeset for help on using the changeset viewer.