Automagically Generate Screenshots of URLs on Your WordPress Blog

March 2, 2010  | 
4 Comments

If you’ve ever illustrated a post or page with a screenshot, then you know how time-consuming it can be to take the screenshot, edit it to a reasonable size, and then upload the image to blog. Do yourself a favor and make use of a plugin that will get the screenshot live without you having to do anything more than input the URL. Below is an example usage in a post. The output automatically links the screenshots to the websites:

Many thanks to the folks over at Binary Moon who wrote the BM Shots plugin in order to serve their wpvote.com site. This is an incredibly useful (and free) tool for anyone using a WordPress or WPMU blog. It’s not available in the WordPress repository, so you’ll need to download it from the plugin developer’s site.

BM Shots makes use of the WordPress API to resize images that are called through either shortcodes or functions added to your theme. Some images take longer than others to load because of the site they’re coming from, but they’ll usually show up upon page refresh. There are two ways to put the plugin into action after downloading and installing it:

Shortcode:

This is the easiest way to use the plugin and it allows you to make the screenshot any size you like:

[browsershot url="http://link-to-website" width="foo-value"]

PHP Function:

Add to your theme’s functions.php file:

bm_mshot ($url, $width = 250);

Then add the template tag wherever you want it:

<?php
$url = 'http://www.binarymoon.co.uk/';
$width = 300;
echo bm_mshot ($url, $width);
?>

Use it. Love it. Save time. :)

Featured Plugin - WordPress + Google Maps = Perfect

Simply insert google maps into posts, sidebars and pages - show directions, streetview, provide image overlays and do it all from a simple button and comprehensive widget.
Find out more

Featured Plugin - Easily integrate your WordPress site with Facebook

Would you like to add Facebook comments, registration, 'Like' buttons and autoposting to your WP site? Well, The Ultimate Facebook plugin has got that all covered!
Find out more

Featured Plugin - Host sites, get paid, just like WordPress.com

If you've ever wondered how you could offer a paid site management and hosting service, then this is the plugin for you. Offer a freemium or paid service, for any niche you like, it's powered Edublogs.org to success already!
Find out more

Featured Plugin - Turn any WordPress page into a fully featured wiki!

To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
Find out more

Featured Plugin - Send beautiful html email newsletters, from WordPress!

Now there's no need to pay for a third party service to sign up, manage and send beautiful email newsletters to your subscriber base - this plugin has got the lot.
Find out more

Featured Plugin - Open an Online Store with MarketPress

Out of all the WordPress ecommerce plugins available, this has got to be the winner - easy to configure, powerful functionality, multiple gateways and more. A simply brilliant plugin!
Find out more

Featured Plugin - Add bottom corner (or anywhere else) chat to your site

No javascript required, no third part chat engine, just fully featured chat right in your own database on your own WP sites - couldn't be easier.
Find out more

Featured Plugin - Every great SEO tweak you need, in one snazzy bundle

Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Find out more

Featured Plugin - Start your own Quora / StackOverflow / Yahoo Q&A site

It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Find out more

4 Responses to Automagically Generate Screenshots of URLs on Your WordPress Blog

  1. That’s excellent! I can foresee myself using this one a lot

  2. This is so rad.

    I have wanted this for a LONG TIME.

  3. Pingback: ClickBank Message Sets - WE Marketing Group.net

  4. Pingback: links for 2010-03-03 « Martin Metzmacher

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting