WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Screenshot Machine Shortcode

Include images from Screenshot Machine in your content with a shortcode.

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

  • key="{account key}"
  • url="{website url}"
  • size="{size letter}" (default=T)
  • format="{jpg|png|gif}" (default=jpg)
  • days="{cache expiration}" (default=14)
  • wait="{wait in ms}" (default=200)
  • title="{href title}"
  • link="{yes|no}" (default=yes)
  • target="{link target}" (default=_blank)
  • refresh="{yes|no}" (default=yes)

You can find the {account key} on your Screenshot Machine account/settings page.

The {website url} is the web page URL to capture into a screenshot.

Valid {size letter} values are:

  • T = Width 120 x Height 90
  • S = Width 200 x Height 150
  • E = Width 320 x Height 240
  • N = Width 400 x Height 300
  • M = Width 640 x Height 480
  • L = Width 800 x Height 600
  • X = Width 1024 x Height 768

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

{cache expiration} is the number of days a screenshot should be used before a new one is created.

{wait in ms} is the number of milliseconds to wait before capturing the screenshot.

{href title} is the title text for the image alt and link title.

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

The {link target} default will open links in a new window/tab. An empty string, '_self', '_top', '_parent', and a framename are also valid.

The refresh parameter includes javascript to retry the image every second until it's available (for a maximum of 10 seconds).

Example:

[ssm key="abc123" url="http://surniaulula.com/extend/plugins/screenshot-machine-shortcode/" size="S"]

Requires: 3.0 or higher
Compatible up to: 3.9.2
Last Updated: 2014-6-21
Downloads: 374

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1