Fix missing callback for case of unsupported image types.