Ignore:
Timestamp:
Apr 8, 2011, 11:09:13 AM (13 years ago)
Author:
mistic100
Message:

bug:1791 display hd dimensions instead of websize dimensions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_upload.inc.php

    r9952 r10157  
    348348      $update['has_high'] = 'true';
    349349      $update['high_filesize'] = $high_infos['filesize'];
     350      $update['high_width'] = $high_infos['width'];
     351      $update['high_height'] = $high_infos['height'];
    350352    }
    351353    else
     
    353355      $update['has_high'] = 'false';
    354356      $update['high_filesize'] = null;
     357      $update['high_width'] = null;
     358      $update['high_height'] = null;
    355359    }
    356360
     
    388392      $insert['has_high'] = 'true';
    389393      $insert['high_filesize'] = $high_infos['filesize'];
     394      $insert['high_width'] = $high_infos['width'];
     395      $insert['high_height'] = $high_infos['height'];
    390396    }
    391397
Note: See TracChangeset for help on using the changeset viewer.