I'm attempting to use the 'feature image' feature of Wordpress to make a full screen background, that resizes to fit the browser window using jQuery
The bit I'm stuck on is adding a custom id (#bgimg) to the code generated by this:
<div class="background"><?php the_post_thumbnail (array(1024,768));?></div>
The image generated needs to have specific id tag in it, eg...
<img id="bgimg" src="wordpress/generated/etc.jpg">
So that the jQuery plugin, can hook on to it, and scale it to fit the browser window. I know the jQuery works (as I've used it in other projects)
Any suggestions? Alex