image upload caption function disambiguated from caption attribute