I'm wondering if there is a way to insert values into the get_the_post_thumbnail function. Currently I'm using this line:
<?php echo get_the_post_thumbnail( $id, 'medium', $attr ); ?>
Obviously this returns the <img> for the given post within my loop. Let's say that looks like this:
<img src="/uploads/image-1.jpg" alt="Test Image" />
What I want to do is insert a value into that <img> string, while still using the get_the_post_thumbnail function. Is it possible?
I'm working with advanced captions for the jQuery Orbit slider (http://www.zurb.com/playground/orbit-jquery-image-slider).
Help! This has gotta be possible...