Spice Up Your WordPress Theme with Special Effects on Post Images

September 9, 2010  | 
4 Comments

Does your WordPress theme need a little face lift? Want to make your site stand out from all the cookie cutter blog themes? We’re going to explore a tool today that will make it easy for you to put a little spark into your post images.

A new plugin called Get Post Image is packed full of special effects that you can use in your WordPress theme, including thumbnailing, formatting, masks, and logo insertion, and many more advanced features. Get Post Image is a wrapper for Get The Image WordPress plugin and phpThumb library. It’s easy one to overlook in the repository, because it has a simple name and no screenshots. However, if you visit the plugin’s homepage, you can see all of the exciting options it offers.

Some of the most impressive features include automatic saturation, brightness, and color adjustments, horizontal and vertical flipping, rounded corners, drop shadows, rotation and watermarking.

For example, let’s say you want to have all of your theme’s post thumbnails be rounded, you can add this using a simple tag:

<?php get_post_image ('w=200&amp;zc=1&amp;fltr[]=ric|100|100'); ?>

You can actually display images of any shape by creating a mask and referencing it in your tag, which would result in something like this:

Create a Shape Mask

The end result

<?php get_post_image ('w=200&amp;zc=1&amp;fltr[]=mask|'.STYLESHEETPATH.'/images/camel-logo-bw.png&amp;f=png'); ?>

How to Get Special Effects on Post Images

Step 1: Download and install Get The Image Plugin

http://wordpress.org/extend/plugins/get-the-image

Step 2: Download and install Get Post Image Plugin

http://wordpress.org/extend/plugins/get-post-image/

Step 3: Add the Tags to Your Theme

This plugin works mainly around the get_post_image() function and it must be used inside the loop.

Depending on what kind of effects you want to use, you’ll need to grab a tag similar to the examples in this post or create your own. You can see example tags at the plugin’s homepage. There are also many more examples on phpThumb Demo page. Use your imagination to make your WordPress theme stand out and have fun!

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 - 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 - 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 - 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 - Start Your Own Powerful Membership Site

If you're thinking about starting a paid, or just private, membership site then this is truly the plugin you've been looking for. Easy to use, massively configurable and ready to go out of the box!
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 - 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

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

4 Responses to Spice Up Your WordPress Theme with Special Effects on Post Images

  1. great article! Quick question… with the mask option, can it make it so that the masked area is transparent, not white? i want to automatically create images with rounded edges, with the background showing through. Is this possible with this function?

  2. Yes, I believe that’s possible. You’ll have to experiment with it. :)

  3. I installed long ago the “Get the Image” plugin but couldn’t get it working. No option page was under my settings or tools menu.

  4. Sajib _ I don’t know if it has an options page. It’s just so that you can add the tags to your theme as per the instructions.

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