public function sanitiseExtension($sExt)
    {
        $sExt = trim(strtolower($sExt));
        $sExt = preg_replace('/^\./', '', $sExt);

        switch ($sExt) {
            case 'jpeg':
                $sExt = 'jpg';
                break;
        }

        return $sExt;
    }