I found that we can only attach images from gallery picker after I applied this patch, I think it's because we change the type from "image/jpeg" to "image/*". According to the ux spec, we should also support picking from camera, so maybe "image/*" is not a suitable filter?