{"id":23646,"date":"2013-05-31T02:50:04","date_gmt":"2013-05-31T02:50:04","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/screenshot-machine-shortcode\/"},"modified":"2026-03-25T12:18:16","modified_gmt":"2026-03-25T12:18:16","slug":"screenshot-machine-shortcode","status":"publish","type":"plugin","link":"https:\/\/es-cr.wordpress.org\/plugins\/screenshot-machine-shortcode\/","author":9782930,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.0.0","stable_tag":"3.0.0","tested":"6.9.4","requires":"6.0","requires_php":"7.4.33","requires_plugins":null,"header_name":"JSM Screenshot Machine Shortcode","header_author":"JS Morisset","header_description":"","assets_banners_color":"ffffff","last_updated":"2026-03-25 12:18:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/surniaulula.com\/extend\/plugins\/screenshot-machine-shortcode\/","header_author_uri":"https:\/\/surniaulula.com\/","rating":5,"author_block_rating":0,"active_installs":30,"downloads":8621,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"3.0.0":{"tag":"3.0.0","author":"jsmoriss","date":"2026-03-25 12:18:16"}},"upgrade_notice":{"3.0.0":"<p>(2025\/01\/17) Improved shortcode attribute sanitization.<\/p>","2.3.0":"<p>(2021\/06\/28) Updated the API URL from http to https.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"4"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2396825,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2396825,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3167653,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3167653,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["3.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[8360,4038,80],"plugin_category":[43,50,59],"plugin_contributors":[79194],"plugin_business_model":[],"class_list":["post-23646","plugin","type-plugin","status-publish","hentry","plugin_tags-machine","plugin_tags-screenshot","plugin_tags-shortcode","plugin_category-customization","plugin_category-media","plugin_category-utilities-and-tools","plugin_contributors-jsmoriss","plugin_committers-jsmoriss"],"banners":{"banner":"https:\/\/ps.w.org\/screenshot-machine-shortcode\/assets\/banner-772x250.jpg?rev=3167653","banner_2x":"https:\/\/ps.w.org\/screenshot-machine-shortcode\/assets\/banner-1544x500.jpg?rev=3167653","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/screenshot-machine-shortcode\/assets\/icon-128x128.jpg?rev=2396825","icon_2x":"https:\/\/ps.w.org\/screenshot-machine-shortcode\/assets\/icon-256x256.jpg?rev=2396825","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Shortcode to include images from <a href=\"http:\/\/screenshotmachine.com\/\">Screenshot Machine<\/a> in your content.<\/strong><\/p>\n\n<h4>SSM Shortcode Required Attributes:<\/h4>\n\n<ul>\n<li><code>key=\"{customer API key}\"<\/code><\/li>\n<li><code>url=\"{webpage url}\"<\/code><\/li>\n<\/ul>\n\n<p>You can find the {customer API key} in your <a href=\"https:\/\/www.screenshotmachine.com\/dashboard.php\">Screenshot Machine dashboard<\/a>.<\/p>\n\n<p>The {webpage url} is the web page URL you want to capture in the screenshot.<\/p>\n\n<h4>SSM Shortcode Optional Attributes:<\/h4>\n\n<ul>\n<li><code>dimension=\"{width x height}\"<\/code> (default is 120x90)<\/li>\n<li><code>device=\"{desktop|phone|tablet}\"<\/code> (default is desktop)<\/li>\n<li><code>format=\"{jpg|png|gif}\"<\/code> (default is jpg)<\/li>\n<li><code>days=\"{cache expiration}\"<\/code> (default is 14)<\/li>\n<li><code>wait=\"{ms}\"<\/code> (default is 200)<\/li>\n<li><code>zoom=\"{percentage}\"<\/code> (default is 100)<\/li>\n<li><code>click=\"{css selector}\"<\/code> (example: .button-close)<\/li>\n<li><code>hide=\"{css selectors}\"<\/code> (example: .add-banner1,.add-banner2)<\/li>\n<li><code>cookies=\"{semicolon list}\"<\/code> (example: name1=value1;name2=value2)<\/li>\n<li><code>language=\"{locale}\"<\/code> (example: en-US)<\/li>\n<li><code>agent=\"{user agent}\"<\/code><\/li>\n<li><code>select=\"{css selector}\"<\/code> (example: table.table:nth-child(3) &gt; tbody:nth-child(2) &gt; tr:nth-child(15))<\/li>\n<li><code>crop=\"{x,y,width,height}\"<\/code> (example: 100,0,800,300)<\/li>\n<li><code>title=\"{title}\"<\/code><\/li>\n<li><code>link=\"{yes|no}\"<\/code> (default is yes)<\/li>\n<li><code>target=\"{name}\"<\/code> (default is _blank)<\/li>\n<li><code>refresh=\"{yes|no}\"<\/code> (default is yes)<\/li>\n<\/ul>\n\n<h4>SSM Shortcode Attribute Details:<\/h4>\n\n<p>The dimension=\"{width x height}\" attribute examples:<\/p>\n\n<ul>\n<li><code>dimension=\"320x240\"<\/code> - screenshot size 320x240 pixels.<\/li>\n<li><code>dimension=\"800x600\"<\/code> - screenshot size 800x600 pixels.<\/li>\n<li><code>dimension=\"1024x768\"<\/code> - screenshot size 1024x768 pixels.<\/li>\n<li><code>dimension=\"1920x1080\"<\/code> - screenshot size 1920x1080 pixels.<\/li>\n<li><code>dimension=\"1024xfull\"<\/code> - full page screenshot with width equals to 1024 pixels (can be pretty long).<\/li>\n<\/ul>\n\n<p>The days=\"{cache expiration}\" attribute value is a number of days that a screenshot should be used before a new one is created (default is 14).<\/p>\n\n<p>The wait=\"{ms}\" attribute value is a number of milliseconds to wait before capturing the screenshot (default is 200).<\/p>\n\n<p>The click=\"{css selector}\", hide=\"{css selectors}\", and select=\"{css selector}\" attribute values are CSS class and\/or id selectors. For example:<\/p>\n\n<ul>\n<li><code>click=\".button-close\"<\/code> - click this CSS class container before taking a screenshot.<\/li>\n<li><code>hide=\".add-banner1,.add-banner2\"<\/code> - hide this CSS class container before taking a screenshot.<\/li>\n<li><code>select=\"table.table:nth-child(3) &gt; tbody:nth-child(2) &gt; tr:nth-child(15)\"<\/code> - take a screenshot only of this CSS container.<\/li>\n<\/ul>\n\n<p>The title=\"{title}\" attribute value is a text string for the image alt and anchor title attributes.<\/p>\n\n<p>The link=\"{yes|no}\" attribute value will determine if the image is linked to the web page URL or not.<\/p>\n\n<p>The target=\"{name}\" attribute opens the link in that target (default is \"_blank\"). An empty string, \"_self\", \"_top\", \"_parent\", or an HTML frame are other possible values.<\/p>\n\n<p>The refresh=\"{yes|no}\" attribute value includes javascript to retry the image every second until it's available (for a maximum of 10 seconds).<\/p>\n\n<h4>SSM Shortcode Example:<\/h4>\n\n<pre>&#091;ssm key=\"abc123\" url=\"https:\/\/google.com\/\" dimension=\"800x600\"&#093;<\/pre>\n\n<!--section=changelog-->\n<h3>Version Numbering<\/h3>\n\n<p>Version components: <code>{major}.{minor}.{bugfix}[-{stage}.{level}]<\/code><\/p>\n\n<ul>\n<li>{major} = Major structural code changes and\/or incompatible API changes (ie. breaking changes).<\/li>\n<li>{minor} = New functionality was added or improved in a backwards-compatible manner.<\/li>\n<li>{bugfix} = Backwards-compatible bug fixes or small improvements.<\/li>\n<li>{stage}.{level} = Pre-production release: dev &lt; a (alpha) &lt; b (beta) &lt; rc (release candidate).<\/li>\n<\/ul>\n\n<h3>Repositories<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/jsmoriss.github.io\/screenshot-machine-shortcode\/\">GitHub<\/a><\/li>\n<li><a href=\"https:\/\/plugins.trac.wordpress.org\/browser\/screenshot-machine-shortcode\/\">WordPress.org<\/a><\/li>\n<\/ul>\n\n<h3>Changelog \/ Release Notes<\/h3>\n\n<p><strong>Version 3.0.0 (2025\/01\/17)<\/strong><\/p>\n\n<ul>\n<li><strong>New Features<\/strong>\n\n<ul>\n<li>None.<\/li>\n<\/ul><\/li>\n<li><strong>Improvements<\/strong>\n\n<ul>\n<li>Improved shortcode attribute sanitization.<\/li>\n<\/ul><\/li>\n<li><strong>Bugfixes<\/strong>\n\n<ul>\n<li>None.<\/li>\n<\/ul><\/li>\n<li><strong>Developer Notes<\/strong>\n\n<ul>\n<li>None.<\/li>\n<\/ul><\/li>\n<li><strong>Requires At Least<\/strong>\n\n<ul>\n<li>PHP v7.4.33.<\/li>\n<li>WordPress v6.0.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p><strong>Version 2.3.0 (2021\/06\/28)<\/strong><\/p>\n\n<ul>\n<li><strong>New Features<\/strong>\n\n<ul>\n<li>None.<\/li>\n<\/ul><\/li>\n<li><strong>Improvements<\/strong>\n\n<ul>\n<li>Updated the API URL from http to https.<\/li>\n<\/ul><\/li>\n<li><strong>Bugfixes<\/strong>\n\n<ul>\n<li>None.<\/li>\n<\/ul><\/li>\n<li><strong>Developer Notes<\/strong>\n\n<ul>\n<li>None.<\/li>\n<\/ul><\/li>\n<li><strong>Requires At Least<\/strong>\n\n<ul>\n<li>PHP v7.4.33.<\/li>\n<li>WordPress v5.9.<\/li>\n<\/ul><\/li>\n<\/ul>","raw_excerpt":"Shortcode to include images from Screenshot Machine in your content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/23646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=23646"}],"author":[{"embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jsmoriss"}],"wp:attachment":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=23646"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=23646"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=23646"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=23646"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=23646"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=23646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}