Skip to main content

Upload Widget - Can't add context/metadata with prepareUploadParams()


1 comment

  • Tia Esguerra

    Hi there, 

    Thanks so much for reaching out. You are almost there. You just have some incorrect syntax. 

    I tried the code below and was able to upload an image and see the contextual metadata correctly applied. 

    prepareUploadParams: (cb, params) => {
    params= {
      context: "alt=@kitty, | 
                     instagram=@meowKitty |
                     website= |
    Could you give that a shot and let me know how it goes?
    Kind Regards, 

Post is closed for comments.