Plugin to make it easy to embed thumbnails and popup descriptions of thousands of objects from the Powerhouse Museum collection of technology, design and social history in your WordPress blog. The plugin supports both in-post and sidebar widget implementations and a variety of filtering and display methods.
The Powerhouse Museum’s online collection is full of objects that you may want to incorporate into your blog. This plugin uses the Powerhouse API and a jQuery popup for displaying the objects in summary view.
Using the plugin you can display a grid of objects in a post or as a sidebar widget. The size and number of objects as well as the grid layout can be easily customised as well as the search variables.
- Download and extract the zip file, upload the phm-image-grid.X.X.zip to your wp-content/mu-plugins directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Sign up for an account here. Next create an API Key.
- Enter this key value in the ‘API key’ field of the Powerhouse Museum Image Grid admin page accessible from the left menu.
- In Appearance/Widgets, drag the widget to a sidebar.
- Change configuration and add filters.
Place the shortcode [phm-grid ] anywhere in any post or page. The basic parameters are ‘cols’, ‘rows’, ‘thumb_width’, ‘thumb_height’, and ‘parameters’. You can use as many parameters you need. For further information please go to the Powerhouse Museum API documentation
eg. [phm-grid cols=4 rows=4 v_space=1 h_space=1 thumb_width=120 thumb_height=120 random=true parameters=”title:chair|description:New South Wales”]
How can I get an API Key?
Please sign up for an account here and then create an API Key for you application.
Contributors & Developers
“Powerhouse Museum Collection Image Grid” is open source software. The following people have contributed to this plugin.
Interested in development?
- First implementation
- Fix wrong CSS and JS paths
- Fix missing objects when title was null or empty