~jstys-z/helioviewer.org/client5

« back to all changes in this revision

Viewing changes to api/lib/Image/SubFieldImage.php

Updated server-side Ant script to check in both /usr/local/bin and /usr/bin for required tools.

Show diffs side-by-side

added added

removed removed

Lines of Context:
543
543
     *
544
544
     * @return array the width and height of the given image
545
545
     */
546
 
    private function _getImageDimensions($filename) {
 
546
    private function _getImageDimensions($filename)
 
547
    {
547
548
        if (list($width, $height, $type, $attr) = getimagesize($filename)) {
548
549
            return array (
549
550
                'width'  => $width,