set_image: Set the Content Image

set_image_pathR Documentation

Set the Content Image

Description

[Deprecated]

Please use set_thumbnail instead.

Set the Content Image using a variety of methods.

Usage

set_image_path(content, path)

set_image_url(content, url)

set_image_webshot(content, ...)

Arguments

content

A content object

path

The path to an image on disk

url

The url for an image

...

Additional arguments passed on to webshot2::webshot()

Details

NOTE: set_image_webshot() requires webshot2::webshot(), but currently skips and warns for any content that requires authentication until the webshot2 package supports authentication.

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_image(), get_job(), get_jobs(), get_thumbnail(), get_vanity_url(), git, has_thumbnail(), permissions, set_run_as(), set_thumbnail(), set_vanity_url(), swap_vanity_url(), terminate_jobs(), verify_content_name()


rstudio/connectapi documentation built on Dec. 20, 2024, 1:48 p.m.