function _getImageSize($sPath) { $this->_sError = ''; try { $o = $this->_oManager->make($sPath); } catch (Exception $e) { $this->_sError = $e->getMessage(); return false; } return array('w' => $o->width(), 'h' => $o->height()); }