imguR (version 1.0.3)

add_gallery_images: Add gallery images

Description

Add images to the gallery

Usage

add_gallery_images(album = NULL, id = NULL, title = NULL, ...)

Arguments

album
An album ID or object of class “imgur_album” to add to the gallery.
id
An image ID or an object of class “imgur_image” to add to the gallery.
title
A title for the image
...
Other arguments passed to HTTP request functions, for example: token (an OAuth2.0 token), which is required.

Value

“imgur_gallery_image” or “imgur_gallery_album”.

Details

This function adds the specified image or album to the gallery. title is required by the API. If NULL, the title is drawn from a call to get_album or get_image.

See Also

remove_gallery_image