multiple image type bugs fixed

Signed-off-by: Chandra Maharzan <chandra@graphpaperpress.com>