set_image_path | R Documentation |
Please use set_thumbnail
instead.
Set the Content Image using a variety of methods.
set_image_path(content, path)
set_image_url(content, url)
set_image_webshot(content, ...)
content |
A content object |
path |
The path to an image on disk |
url |
The url for an image |
... |
Additional arguments passed on to |
NOTE: set_image_webshot()
requires webshot2::webshot()
, but currently
skips and warns for any content that requires authentication until the
webshot2
package supports authentication.
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.