get_image {connectapi}R Documentation

Get the Content Image

Description

[Deprecated]

Please use get_thumbnail, delete_thumbnail, and has_thumbnail instead.

get_image saves the content image to the given path (default: temp file). delete_image removes the image (optionally saving to the given path) has_image returns whether the content has an image

Usage

get_image(content, path = NULL)

delete_image(content, path = NULL)

has_image(content)

Arguments

content

A content object

path

optional. The path to the image on disk

See Also

Other content functions: content_delete(), content_item(), content_title(), content_update(), create_random_name(), dashboard_url(), dashboard_url_chr(), delete_thumbnail(), delete_vanity_url(), deploy_repo(), get_bundles(), get_environment(), get_jobs(), get_thumbnail(), get_vanity_url(), git, has_thumbnail(), permissions, set_image_path(), set_run_as(), set_thumbnail(), set_vanity_url(), swap_vanity_url(), verify_content_name()


[Package connectapi version 0.4.0 Index]