Image validation debugging