Dynamic Image Alt Tag
Hi All,
I am using Mr Green's Grid mod but I have done some mods of my own to it. Bacically all I want to show is the ad image and use the Title as the alt tag for the image.
This is the code below that gets the image, can anyone tell me how I would go about using the Ad Title as the alt tag for the image.
<div class="post-left">
<?php if ( get_option('cp_ad_images') == 'yes' ) cp_ad_loop_thumbnail(); ?>
</div>
<div class="<?php if ( get_option('cp_ad_images') == 'yes' ) echo 'post-right'; else echo 'post-right-no-img'; ?> <?php echo get_option('cp_ad_right_class'); ?>">
Thanks folks