Here is the code snippet I am working with:
<div class="latest-post">
<a href="http://localhost/blaze/2011/documentaries/test-big-thumb" rel="bookmark">
<span>
<img width="140" height="100" src="http://localhost/blaze/wp-content/uploads/2011/10/DSC02798-140x100.jpg" class="attachment-latestvideos wp-post-image" alt="DSC02798" title="DSC02798" />
</span>
</a>
</div>
I am looking to overlay a 140px by 100px transparent .png element on top of each image. The overlay should fade in when the user hovers over the link.
Using CSS sprites is not an option for this as Wordpress auto generates the thumbnail images and I need this solution to be user-friendly. My preference is for jQuery to add the png on top of the img elements.
While it doesn't seem like a complex task, I've been unable to find a precise solution for this so far.
Your insights would be highly appreciated. Thank you!