Haxo!

How to Add a Custom Class to a Featured Image in WordPress

A quick and ready-to-use snippet to add a class to post thumbnails in your WordPress theme. It simply uses a parameter of the_post_thumbnail to set the class.