Added own exception class and improved internal & user-level error handling. Cleaned up 404/error image loading
Added own exception class and improved internal & user-level error handling. Cleaned up 404/error image loading

when loading up generated error & fallback images, set an image format to allow output without errors

fix normalisation of JPEG mimetype

pospi/imthumb