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

回答済み
新規投稿

コメント

2件のコメント

  • 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
    コメントアクション パーマリンク
  • berickson

    Thanks, Priyajeet!

     

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

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。