concrete/controllers/backend/file/thumbnailer.php
private function getDimensions($thumbnail)
    {
        $matches = null;
        if (preg_match('/^ccm_(\d+)x(\d+)(?:_([10]))?$/', $thumbnail['thumbnailTypeHandle'], $matches)) {
            return array_pad(array_slice($matches, 1), 3, 0);
        }
    }
private function getDimensions($thumbnail)
    {
        $matches = null;
        if (preg_match('/^ccm_(\d+)x(\d+)(?:_([10]))?$/', $thumbnail['thumbnailTypeHandle'], $matches)) {
            return array_pad(array_slice($matches, 1), 3, 0);
        }
    }
private function getDimensions ( $ thumbnail ) { $ matches = null ; if ( preg_match ( '/^ccm_(\d+)x(\d+)(?:_([10]))?$/' , $ thumbnail [ 'thumbnailTypeHandle' ] , $ matches ) ) { return array_pad ( array_slice ( $ matches , 1 ) , 3 , 0 ) ; } }
Get the dimensions out of a thumbnail array.

@param array $thumbnail

@return null|array [ width, height, crop ]
Get the dimensions out of a thumbnail array .