Description Usage Arguments Details Value Author(s) See Also Examples
Update image metadata
1 | update_image(id, title = NULL, description = NULL, ...)
|
id |
An image ID or object of class “imgur_image”. If no |
title |
Optionally, an image title. |
description |
Optionally, an image description. |
... |
Other arguments passed to HTTP request functions, for example: |
Update the title or description of an already-uploaded image.
An object of class “imgur_basic”.
Thomas J. Leeper
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# using a deletehash, anonymously
u <- upload_image('file.png')
update_image(u$deletehash, title = 'New Title')
# using an OAuth token
tkn <- imgur_login()
u <- upload_image('file.png', token = tkn)
update_image(u, title = 'New Title', token = tkn)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.