About this plugin
🎉 Easily display website screenshots of any URL in your WordPress site 🎉
This plugin uses the Urlbox API to generate website screenshots and display them on your site. com.
How to use the plugin
0.
-
com API Key and Secret in the settings page.
-
(Optional) You can set default options for your screenshots such as width, height, and thumbnail width on the plugin settings page.
-
Now when you want to display a screenshot inside a post or page, just use the following in a Shortcode block:
com
If you want to override any of the settings, just pass the option into the shortcode:
com thumnailed down to 400px wide
The plugin wraps the <img> element inside a <figure> element. You can set the class of both the figure and the img elements from the settings page (which will apply to all screenshots), and also override these settings for an individual screenshot by passing the options in the shortcode:
com figure_class=my-figure-class img_class=my-img-class ] // change the css classes of the wrapping figure and img element
What do you need
- WordPress
- A Urlbox Account
- Your Urlbox API key and secret (From: https://urlbox.com )
Known Bugs
0 – Bug in proxy logic. Testing one’s proxy connection in the plugin’s settings will not work due to an ‘Invalid JSON’ error, because of a lack of JSON encoding. This error does not display in the WordPress playground, but will display in any dockerised/live environment.
1, and introduce a dockerised test/development environment for future coverage before releases.