Ciao, allora questi sono i diversi formati accettati:

$types = array(
1 => 'GIF',
2 => 'JPG',
3 => 'PNG',
4 => 'SWF',
5 => 'PSD',
6 => 'BMP',
7 => 'TIFF(intel byte order)',
8 => 'TIFF(motorola byte order)',
9 => 'JPC',
10 => 'JP2',
11 => 'JPX',
12 => 'JB2',
13 => 'SWC',
14 => 'IFF',
15 => 'WBMP',
16 => 'XBM'
);

Come puoi vedere il tuo codice fa un controllo che il file non sia diverso dai primi 3 (gif, jpg e png), ti basta aggiungere il numero del $types che ti serve e puoi accettare anche bmp ($types6) e tiff ($types7 o $types8)