Fixed bug for images with no metadata.
Created Sphinx documentation.