Welcome to the new Box Support website. Check out all the details here on what’s changed.

expiring embed link - I just want a direct link to the image source

Answered
New post

Comments

2 comments

  • Priyajeet

    2 ways:

     

    You can get the converted representation of the image (what our preview widget uses underneath).

    For this refer to https://developer.box.com/v2.0/reference#representations

     

    OR

     

    You can get the link to the originally uploaded image by getting the download_url instead of the expiring_embed_url.

    In that case you are sending the actual original image, and not our preview widget and not our converted representation of it that the preview widget uses.

    Do note that, in doing so, access stats for the file will be different. You will see image downloads instead of previews.

     

     

    0
    Comment actions Permalink
  • berickson

    Thanks, Priyajeet!

     

    I'll check out the representations features. I wasn't aware of that.

    0
    Comment actions Permalink

Please sign in to leave a comment.