Lines Matching refs:image_type_to_mime_type
56 …REQUEST['filename'] : '.getid3').'.'.$variable['dataoffset'].'.'.image_type_to_mime_type($imagechu…
105 …$returnstring .= '<tr><td><b>type</b></td><td>'.image_type_to_mime_type($imagechunkcheck[2]).'</td…
906 function image_type_to_mime_type($imagetypeid) { function
908 static $image_type_to_mime_type = array();
909 if (empty($image_type_to_mime_type)) {
910 $image_type_to_mime_type[1] = 'image/gif'; // GIF
911 $image_type_to_mime_type[2] = 'image/jpeg'; // JPEG
912 $image_type_to_mime_type[3] = 'image/png'; // PNG
913 $image_type_to_mime_type[4] = 'application/x-shockwave-flash'; // Flash
914 $image_type_to_mime_type[5] = 'image/psd'; // PSD
915 $image_type_to_mime_type[6] = 'image/bmp'; // BMP
916 $image_type_to_mime_type[7] = 'image/tiff'; // TIFF: little-endian (Intel)
917 $image_type_to_mime_type[8] = 'image/tiff'; // TIFF: big-endian (Motorola)
922 $image_type_to_mime_type[13] = 'application/x-shockwave-flash'; // Shockwave
923 $image_type_to_mime_type[14] = 'image/iff'; // IFF
925 …return (isset($image_type_to_mime_type[$imagetypeid]) ? $image_type_to_mime_type[$imagetypeid] : '…