http://www.spacetelescope.org/projects/fits_liberator/
At the present time many of the applications listed above are not
designed to support use as viewers of "image/fits" files in
association with web browsers.
Additional information:
A FITS file described with the media type "image/fits" SHOULD have a
PHDU with positive integer values for the NAXIS and NAXISn keywords,
and hence SHOULD contain at least one pixel. Files with 4 or more
non-degenerate axes (NAXISn>1) SHOULD be described as
"application/fits", not as "image/fits". (In rare cases it may be
appropriate to describe a NULL image -- a dataless container for FITS
keywords, with NAXIS=0 or NAXISn=0 -- or an image with 4+ non-
degenerate axes as "image/fits" but this usage is discouraged because
such files may confuse simple image viewer applications.)
FITS files declared as "image/fits" MAY also have one or more
conforming XHDUs following their PHDUs. These extension HDUs MAY
contain standard, non-linear, world coordinate system (WCS)
information in the form of tables or images. The extension HDUs MAY
also contain other, non-standard metadata pertaining to the image in
the PHDU in the forms of keywords and tables.
A FITS file described with the media type "image/fits" SHOULD be
principally intended to communicate the single data array in the
PHDU. This means that "image/fits" SHOULD NOT be applied to FITS
files containing MEF (multi-exposure-frame) mosaic images. Also,
random groups files MUST be described as "application/fits" and not
as "image/fits".
A FITS file described with the media type "image/fits" is also valid
as a file of media type "application/fits". The choice of
classification depends on the context and intended usage.
Recommendations for application writers:
An application that is intended to handle "image/fits" SHOULD be able
to provide a user with a manifest of all of the HDUs that are present
in the file and with all of the keyword/value pairs from each of the
HDUs. An application writer MAY choose to ignore HDUs beyond the
PHDU, but even in this case the application SHOULD be able to present
the user with the keyword/value pairs from the PHDU.
Note that an application intended to render "image/fits" for viewing
by a user has significantly more responsibility than an application
intended to handle, e.g., "image/tiff" or "image/gif". FITS data