JBrowser::isViewable
Determines if a browser can display a given MIME type.
Note that image/jpeg and image/pjpeg *appear* to be the same entity, but Mozilla doesn't seem to want to accept the latter. For our purposes, we will treat them the same.
Signature
public function isViewable(string
$mimetype )
Parameters
-
$mimetype
- The MIME type to check.
Returns
- boolean
- True if the browser can display the MIME type.