Home page and Posts
[save_as_image_pdfcrowd button_hidden_image=1]
echo create_save_as_image_pdfcrowd_button(array('button_hidden_image' => 1));
Text on the left and icon
[save_as_image_pdfcrowd button_format="text-image"]
echo create_save_as_image_pdfcrowd_button(array('button_format' => 'text-image'));
Download Report
[save_as_image_pdfcrowd button_text="Download Report"]
echo create_save_as_image_pdfcrowd_button(array('button_text' => 'Download Report'));
Automatic - look up in your internationalization files
[save_as_image_pdfcrowd button_translation="auto"]
echo create_save_as_image_pdfcrowd_button(array('button_translation' => 'auto'));
choose the 3rd image in the list
[save_as_image_pdfcrowd button_image="image3.svg"]
echo create_save_as_image_pdfcrowd_button(array('button_image' => 'image3.svg'));
18
[save_as_image_pdfcrowd button_image_width=18]
echo create_save_as_image_pdfcrowd_button(array('button_image_width' => 18));
18
[save_as_image_pdfcrowd button_image_height=18]
echo create_save_as_image_pdfcrowd_button(array('button_image_height' => 18));
convert-trigger
[save_as_image_pdfcrowd button_id="convert-trigger"]
echo create_save_as_image_pdfcrowd_button(array('button_id' => 'convert-trigger'));
[save_as_image_pdfcrowd button_html_hidden=1]
echo create_save_as_image_pdfcrowd_button(array('button_html_hidden' => 1));
above content
[save_as_image_pdfcrowd button_position="above"]
echo create_save_as_image_pdfcrowd_button(array('button_position' => 'above'));
end
[save_as_image_pdfcrowd button_alignment="end"]
echo create_save_as_image_pdfcrowd_button(array('button_alignment' => 'end'));
10
[save_as_image_pdfcrowd button_margin_top=10]
echo create_save_as_image_pdfcrowd_button(array('button_margin_top' => 10));
10
[save_as_image_pdfcrowd button_margin_right=10]
echo create_save_as_image_pdfcrowd_button(array('button_margin_right' => 10));
10
[save_as_image_pdfcrowd button_margin_bottom=10]
echo create_save_as_image_pdfcrowd_button(array('button_margin_bottom' => 10));
10
[save_as_image_pdfcrowd button_margin_left=10]
echo create_save_as_image_pdfcrowd_button(array('button_margin_left' => 10));
.save-as-image-pdfcrowd-button
CSS rule.Custom
[save_as_image_pdfcrowd button_styling="custom"]
echo create_save_as_image_pdfcrowd_button(array('button_styling' => 'custom'));
18
[save_as_image_pdfcrowd button_text_size=18]
echo create_save_as_image_pdfcrowd_button(array('button_text_size' => 18));
bolder
[save_as_image_pdfcrowd button_text_weight="bolder"]
echo create_save_as_image_pdfcrowd_button(array('button_text_weight' => 'bolder'));
red
[save_as_image_pdfcrowd button_text_color="red"]
echo create_save_as_image_pdfcrowd_button(array('button_text_color' => 'red'));
red
[save_as_image_pdfcrowd button_background_color="red"]
echo create_save_as_image_pdfcrowd_button(array('button_background_color' => 'red'));
red
[save_as_image_pdfcrowd button_border_color="red"]
echo create_save_as_image_pdfcrowd_button(array('button_border_color' => 'red'));
hidden
[save_as_image_pdfcrowd button_border_style="hidden"]
echo create_save_as_image_pdfcrowd_button(array('button_border_style' => 'hidden'));
2
[save_as_image_pdfcrowd button_border_width=2]
echo create_save_as_image_pdfcrowd_button(array('button_border_width' => 2));
10
[save_as_image_pdfcrowd button_padding_top=10]
echo create_save_as_image_pdfcrowd_button(array('button_padding_top' => 10));
10
[save_as_image_pdfcrowd button_padding_right=10]
echo create_save_as_image_pdfcrowd_button(array('button_padding_right' => 10));
10
[save_as_image_pdfcrowd button_padding_bottom=10]
echo create_save_as_image_pdfcrowd_button(array('button_padding_bottom' => 10));
10
[save_as_image_pdfcrowd button_padding_left=10]
echo create_save_as_image_pdfcrowd_button(array('button_padding_left' => 10));
4
[save_as_image_pdfcrowd button_radius=4]
echo create_save_as_image_pdfcrowd_button(array('button_radius' => 4));
.save-as-image-pdfcrowd-button-hover
, .save-as-image-pdfcrowd-has-indicator-func:hover
.
[save_as_image_pdfcrowd button_hover=1]
echo create_save_as_image_pdfcrowd_button(array('button_hover' => 1));
Ring
[save_as_image_pdfcrowd button_indicator="ring"]
echo create_save_as_image_pdfcrowd_button(array('button_indicator' => 'ring'));
5
[save_as_image_pdfcrowd button_indicator_timeout=5]
echo create_save_as_image_pdfcrowd_button(array('button_indicator_timeout' => 5));
Open the image in the current browser tab
[save_as_image_pdfcrowd button_disposition="inline"]
echo create_save_as_image_pdfcrowd_button(array('button_disposition' => 'inline'));
info@example.com
[save_as_image_pdfcrowd email_from="info@example.com"]
echo create_save_as_image_pdfcrowd_button(array('email_from' => 'info@example.com'));
Prompt for an email address
[save_as_image_pdfcrowd email_recipient="prompt"]
echo create_save_as_image_pdfcrowd_button(array('email_recipient' => 'prompt'));
john@example.com
[save_as_image_pdfcrowd email_cc="john@example.com"]
echo create_save_as_image_pdfcrowd_button(array('email_cc' => 'john@example.com'));
mary@example.com
[save_as_image_pdfcrowd email_bcc="mary@example.com"]
echo create_save_as_image_pdfcrowd_button(array('email_bcc' => 'mary@example.com'));
{{ }}
that are dynamically expanded. Available variables are: {{user_name}} - Report
[save_as_image_pdfcrowd email_subject="{{user_name}} - Report"]
echo create_save_as_image_pdfcrowd_button(array('email_subject' => '{{user_name}} - Report'));
{{ }}
that are dynamically expanded. Available variables are: <p>Dear {{user_first_name}} {{user_last_name}}, ...</p>
[save_as_image_pdfcrowd email_message="<p>Dear {{user_first_name}} {{user_last_name}}, ...</p>"]
echo create_save_as_image_pdfcrowd_button(array('email_message' => '<p>Dear {{user_first_name}} {{user_last_name}}, ...</p>'));
Predefined modal dialogs
[save_as_image_pdfcrowd email_dialogs="modal"]
echo create_save_as_image_pdfcrowd_button(array('email_dialogs' => 'modal'));
report.png
[save_as_image_pdfcrowd output_name="report.png"]
echo create_save_as_image_pdfcrowd_button(array('output_name' => 'report.png'));
save_to_local
[save_as_image_pdfcrowd image_created_callback="save_to_local"]
echo create_save_as_image_pdfcrowd_button(array('image_created_callback' => 'save_to_local'));
{'post_id': 123}
[save_as_image_pdfcrowd custom_data="{'post_id': 123}"]
echo create_save_as_image_pdfcrowd_button(array('custom_data' => '{"post_id": 123}'));
$_GET['error-code']
,
$_GET['error-message']
and
$_GET['error-details']
.
https://mysite.com/pdfcrowd-error/
[save_as_image_pdfcrowd error_page="https://mysite.com/pdfcrowd-error/"]
echo create_save_as_image_pdfcrowd_button(array('error_page' => 'https://mysite.com/pdfcrowd-error/'));
Content
[save_as_image_pdfcrowd conversion_mode="content"]
echo create_save_as_image_pdfcrowd_button(array('conversion_mode' => 'content'));
Location
[save_as_image_pdfcrowd url_lookup="location"]
echo create_save_as_image_pdfcrowd_button(array('url_lookup' => 'location'));
[save_as_image_pdfcrowd diagnostics=1]
echo create_save_as_image_pdfcrowd_button(array('diagnostics' => 1));
webp
[save_as_image_pdfcrowd output_format="webp"]
echo create_save_as_image_pdfcrowd_button(array('output_format' => 'webp'));
1920
[save_as_image_pdfcrowd screenshot_width=1920]
echo create_save_as_image_pdfcrowd_button(array('screenshot_width' => 1920));
1080
[save_as_image_pdfcrowd screenshot_height=1080]
echo create_save_as_image_pdfcrowd_button(array('screenshot_height' => 1080));
50
[save_as_image_pdfcrowd scale_factor=50]
echo create_save_as_image_pdfcrowd_button(array('scale_factor' => 50));
00ff00
[save_as_image_pdfcrowd background_color="00ff00"]
echo create_save_as_image_pdfcrowd_button(array('background_color' => '00ff00'));
[save_as_image_pdfcrowd use_print_media=true]
echo create_save_as_image_pdfcrowd_button(array('use_print_media' => true));
[save_as_image_pdfcrowd no_background=true]
echo create_save_as_image_pdfcrowd_button(array('no_background' => true));
[save_as_image_pdfcrowd disable_javascript=true]
echo create_save_as_image_pdfcrowd_button(array('disable_javascript' => true));
[save_as_image_pdfcrowd disable_image_loading=true]
echo create_save_as_image_pdfcrowd_button(array('disable_image_loading' => true));
[save_as_image_pdfcrowd disable_remote_fonts=true]
echo create_save_as_image_pdfcrowd_button(array('disable_remote_fonts' => true));
[save_as_image_pdfcrowd use_mobile_user_agent=true]
echo create_save_as_image_pdfcrowd_button(array('use_mobile_user_agent' => true));
Iframe loading is disabled.
[save_as_image_pdfcrowd load_iframes="none"]
echo create_save_as_image_pdfcrowd_button(array('load_iframes' => 'none'));
[save_as_image_pdfcrowd block_ads=true]
echo create_save_as_image_pdfcrowd_button(array('block_ads' => true));
utf-8
[save_as_image_pdfcrowd default_encoding="utf-8"]
echo create_save_as_image_pdfcrowd_button(array('default_encoding' => 'utf-8'));
ja-JP
[save_as_image_pdfcrowd locale="ja-JP"]
echo create_save_as_image_pdfcrowd_button(array('locale' => 'ja-JP'));
John
[save_as_image_pdfcrowd http_auth_user_name="John"]
echo create_save_as_image_pdfcrowd_button(array('http_auth_user_name' => 'John'));
123456
[save_as_image_pdfcrowd http_auth_password="123456"]
echo create_save_as_image_pdfcrowd_button(array('http_auth_password' => '123456'));
session=6d7184b3bf35;token=2710
[save_as_image_pdfcrowd cookies="session=6d7184b3bf35;token=2710"]
echo create_save_as_image_pdfcrowd_button(array('cookies' => 'session=6d7184b3bf35;token=2710'));
[save_as_image_pdfcrowd verify_ssl_certificates=true]
echo create_save_as_image_pdfcrowd_button(array('verify_ssl_certificates' => true));
[save_as_image_pdfcrowd fail_on_main_url_error=true]
echo create_save_as_image_pdfcrowd_button(array('fail_on_main_url_error' => true));
[save_as_image_pdfcrowd fail_on_any_url_error=true]
echo create_save_as_image_pdfcrowd_button(array('fail_on_any_url_error' => true));
[save_as_image_pdfcrowd no_xpdfcrowd_header=true]
echo create_save_as_image_pdfcrowd_button(array('no_xpdfcrowd_header' => true));
nav, #ad-block { display: none !important; }
[save_as_image_pdfcrowd custom_css="nav, #ad-block { display: none !important; }"]
echo create_save_as_image_pdfcrowd_button(array('custom_css' => 'nav, #ad-block { display: none !important; }'));
document.body.style.setProperty('background-color', 'gray', 'important')
[save_as_image_pdfcrowd custom_javascript="document.body.style.setProperty('background-color', 'gray', 'important')"]
echo create_save_as_image_pdfcrowd_button(array('custom_javascript' => 'document.body.style.setProperty("background-color", "gray", "important")'));
document.body.style.setProperty('background-color', 'gray', 'important')
[save_as_image_pdfcrowd on_load_javascript="document.body.style.setProperty('background-color', 'gray', 'important')"]
echo create_save_as_image_pdfcrowd_button(array('on_load_javascript' => 'document.body.style.setProperty("background-color", "gray", "important")'));
X-My-Client-ID:k2017-12345
[save_as_image_pdfcrowd custom_http_header="X-My-Client-ID:k2017-12345"]
echo create_save_as_image_pdfcrowd_button(array('custom_http_header' => 'X-My-Client-ID:k2017-12345'));
2000
[save_as_image_pdfcrowd javascript_delay=2000]
echo create_save_as_image_pdfcrowd_button(array('javascript_delay' => 2000));
div.user-panel.main p.article
[save_as_image_pdfcrowd element_to_convert="div.user-panel.main p.article"]
echo create_save_as_image_pdfcrowd_button(array('element_to_convert' => 'div.user-panel.main p.article'));
All element's siblings are hidden.
[save_as_image_pdfcrowd element_to_convert_mode="hide-siblings"]
echo create_save_as_image_pdfcrowd_button(array('element_to_convert_mode' => 'hide-siblings'));
div.user-panel.main p.article
[save_as_image_pdfcrowd wait_for_element="div.user-panel.main p.article"]
echo create_save_as_image_pdfcrowd_button(array('wait_for_element' => 'div.user-panel.main p.article'));
[save_as_image_pdfcrowd auto_detect_element_to_convert=true]
echo create_save_as_image_pdfcrowd_button(array('auto_detect_element_to_convert' => true));
Version 4 of the enhancements is used.
[save_as_image_pdfcrowd readability_enhancements="readability-v4"]
echo create_save_as_image_pdfcrowd_button(array('readability_enhancements' => 'readability-v4'));
Methods related to HTML template rendering.
{"recipient": "Anna May", "sender": "John Doe"}
[save_as_image_pdfcrowd data_string="{'recipient': 'Anna May', 'sender': 'John Doe'}"]
echo create_save_as_image_pdfcrowd_button(array('data_string' => '{"recipient": "Anna May", "sender": "John Doe"}'));
/home/user/john/data.json
[save_as_image_pdfcrowd data_file="/home/user/john/data.json"]
echo create_save_as_image_pdfcrowd_button(array('data_file' => '/home/user/john/data.json'));
csv
[save_as_image_pdfcrowd data_format="csv"]
echo create_save_as_image_pdfcrowd_button(array('data_format' => 'csv'));
iso8859-2
[save_as_image_pdfcrowd data_encoding="iso8859-2"]
echo create_save_as_image_pdfcrowd_button(array('data_encoding' => 'iso8859-2'));
[save_as_image_pdfcrowd data_ignore_undefined=true]
echo create_save_as_image_pdfcrowd_button(array('data_ignore_undefined' => true));
[save_as_image_pdfcrowd data_auto_escape=true]
echo create_save_as_image_pdfcrowd_button(array('data_auto_escape' => true));
[save_as_image_pdfcrowd data_trim_blocks=true]
echo create_save_as_image_pdfcrowd_button(array('data_trim_blocks' => true));
xml_remove_root=1
[save_as_image_pdfcrowd data_options="xml_remove_root=1"]
echo create_save_as_image_pdfcrowd_button(array('data_options' => 'xml_remove_root=1'));
[save_as_image_pdfcrowd debug_log=true]
echo create_save_as_image_pdfcrowd_button(array('debug_log' => true));
client-1234
[save_as_image_pdfcrowd tag="client-1234"]
echo create_save_as_image_pdfcrowd_button(array('tag' => 'client-1234'));
113.25.84.10:33333
[save_as_image_pdfcrowd http_proxy="113.25.84.10:33333"]
echo create_save_as_image_pdfcrowd_button(array('http_proxy' => '113.25.84.10:33333'));
113.25.84.10:44333
[save_as_image_pdfcrowd https_proxy="113.25.84.10:44333"]
echo create_save_as_image_pdfcrowd_button(array('https_proxy' => '113.25.84.10:44333'));
/home/user/john/pdfcrowd.crt
[save_as_image_pdfcrowd client_certificate="/home/user/john/pdfcrowd.crt"]
echo create_save_as_image_pdfcrowd_button(array('client_certificate' => '/home/user/john/pdfcrowd.crt'));
123456
[save_as_image_pdfcrowd client_certificate_password="123456"]
echo create_save_as_image_pdfcrowd_button(array('client_certificate_password' => '123456'));
Expert options for fine-tuning output.
Mozilla/5.0 (Macintosh; Intel Mac OS X 14_7_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Safari/605.1.15
[save_as_image_pdfcrowd converter_user_agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 14_7_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Safari/605.1.15"]
echo create_save_as_image_pdfcrowd_button(array('converter_user_agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 14_7_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Safari/605.1.15'));
Version 20.10 is used.
[save_as_image_pdfcrowd converter_version="latest"]
echo create_save_as_image_pdfcrowd_button(array('converter_version' => 'latest'));
Warning
Using HTTP is insecure as data sent over HTTP is not encrypted. Enable this option only if you know what you are doing.
[save_as_image_pdfcrowd use_http=true]
echo create_save_as_image_pdfcrowd_button(array('use_http' => true));
3
[save_as_image_pdfcrowd retry_count=3]
echo create_save_as_image_pdfcrowd_button(array('retry_count' => 3));