Im using the plugin "Dynamic_Featured_Image" for wordpress. I can get the image to show all the default image sizes (full/medium/thumb), but I want it to use a custom added one in my theme.
<?php
if( class_exists('Dynamic_Featured_Image') )
{
global $dynamic_featured_image;
$featured_images = $dynamic_featured_image->get_featured_images();
$i = 0;
foreach ($featured_images as $row=>$innerArray)
{
$id = $featured_images[$i]['attachment_id'];
$mediumSizedImage = $dynamic_featured_image->get_image_url($id,'conferance');
$caption = $dynamic_featured_image->get_image_caption( $mediumSizedImage );
echo " <li><img src=\"".$mediumSizedImage."\" alt=\"".$caption."\"><div class=\"captionText\">".$caption." </div></li>";
$i++;
}
}
?>
And the themesupported thumb is:
add_theme_support( 'post-thumbnails' );
add_image_size( 'conferance', 570, 335, true );
But when I fetch the image it still comes in the full (original size). Any clues why?