Adding thumbnail attribute in Wordpress?

admin

Administrator
Staff member
I'm trying to apply a jQuery plugin on my wordpress site called Adaptive Backgrounds <a href="http://briangonzalez.github.io/jquery.adaptive-backgrounds.js/" rel="nofollow">http://briangonzalez.github.io/jquery.adaptive-backgrounds.js/</a>.

I want to use it for my post thumbnails. The readme documentation says:

<blockquote>
The script looks for image(s) with the
Code:
data-adaptive-background
attribute:

Code:
html &lt;img src="/image.jpg" data-adaptive-background='1'&gt;
</blockquote>

My question is: How do I add this attribute to my post thumbnails, and my post thumbnails only?