Description Usage Arguments Details Value Author(s) References See Also Examples
Uploads a named image file to Imgur, optionally to a specified album.
1 2 3 4 |
file |
Name of the file to be uploaded to imgur.com |
title |
Optionally, an image title. |
description |
Optionally, an image description. |
album |
Optionally, an Imgur album ID. |
name |
Optionally, a file name, otherwise the |
type |
Should be “file”. |
... |
Other arguments passed to HTTP request functions, for example: |
upload_image
allows users to upload a named file to Imgur. imgur_upload
is an alias that can serve as a drop-in replacement for the imgur_upload
function in the knitr package.
A list parsed from the imguR JSON response after uploading the plot (see the imgur API for details).
Thomas J. Leeper, adapted from code by Aaron Statham (imguRupload
from imguR v0.1) and Yihue Xie (knitr::imgur_upload
).
https://api.imgur.com/endpoints/image#image-upload
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.