function isAllowedImage($sSrcImage) { try { $this->_oManager->make($sSrcImage); } catch (Exception $e) { return false; } return true; }