add_gallery_images function

Add gallery images

Add gallery images

Add images to the gallery

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.

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.

Returns

An object of class imgur_gallery_image or imgur_gallery_album .

Author(s)

Thomas J. Leeper

See Also

remove_gallery_image

  • Maintainer: Thomas J. Leeper
  • License: GPL-3
  • Last published: 2016-03-29