added  `/image\//.test(image.MIMEType)` test just in case