screenshot-machine-shortcode

JSM's Screenshot Machine Shortcode

View the Project on GitHub jsmoriss/screenshot-machine-shortcode

JSM Screenshot Machine Shortcode

Plugin NameJSM Screenshot Machine Shortcode
SummaryShortcode to include images from Screenshot Machine in your content.
Stable Version2.3.0
Requires PHP7.4.33 or newer
Requires WordPress5.9 or newer
Tested Up To WordPress6.7.1
Contributorsjsmoriss
LicenseGPLv3
Tags / Keywordsscreenshot, machine, shortcode

Description

Shortcode to include images from Screenshot Machine in your content.

Use the ssm shortcode in your content with the following arguments:

You can find the {customer key} on your Screenshot Machine customer profile.

The {url} is the web page URL you want to capture in the screenshot.

Example dimension values:

Example device and dimension values:

The format {jpeg|png|gif} is an image format to use for the screenshot (default is jpg).

The {cache expiration} is a number of days a screenshot should be used before a new one is created (default is 14).

The {wait in ms} is a number of milliseconds to wait before capturing the screenshot (default is 200).

The {href title} is a title text for the image alt and title attributes.

The link {yes|no} value will determine if the image is linked to the web page URL or not.

The target {frame name} default value opens the link in a new window/tab. An empty string, "_self", "_top", "_parent", or an HTML frame name are also valid values.

The refresh {yes|no} value includes javascript to retry the image every second until it's available (for a maximum of 10 seconds).

Example shortcode:

[ssm key="abc123" url="https://google.com/" dimension="800x600"]