I'm using Auto Featured Image plugin to generate thumbnails for my posts. After upgrading to WP 3.4 all the posts that had videos and thumbnails generated from youtube disappeared. I found another plugin called Video Thumbnails which created the thumbnails for all video posts but now the thumbnails are not showing on the home page. Does anybody know why this is happening? The below code was used for the thumbnails:
<?php
if ( has_post_thumbnail() ) { ?>
<?php
$imgsrcparam = array(
'alt' => trim(strip_tags( $post->post_title )),
'title' => trim(strip_tags( $post->post_title )),);
$thumbID = get_the_post_thumbnail( $post->ID, array(235,235), $imgsrcparam ); ?>
<a>" class="preview"><?php echo $thumbID; ?></a>
<?php } ?>