Title: Please explain version 3.0
Last modified: August 21, 2016

---

# Please explain version 3.0

 *  Resolved [jenna_d](https://wordpress.org/support/users/jenna_d/)
 * (@jenna_d)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/please-explain-version-30/)
 * Since upgrading to version 3, dynamic featured image no longer works on my theme.
   I have updated the retrieval code to:
 * if( class_exists(‘Dynamic_Featured_Image’) ) {
    global $dynamic_featured_image;
   $featured_images = $dynamic_featured_image->get_featured_images( $postId );
 *  //You can now loop through the image to display them as required
    }
 * BUT there are no instructions as to how to call this data as an image. Please
   can you give an example of how you can call a linked image within a theme…
 * [https://wordpress.org/plugins/dynamic-featured-image/](https://wordpress.org/plugins/dynamic-featured-image/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ankit Pokhrel](https://wordpress.org/support/users/ankitpokhrel/)
 * (@ankitpokhrel)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/please-explain-version-30/#post-4650129)
 * Hello Jenna,
 * The process for calling the data as an image is same as before. Try this:
 *     ```
       if( class_exists('Dynamic_Featured_Image') ) {
         global $dynamic_featured_image;
         $featuredImages = $dynamic_featured_image->get_featured_images( $postId );
   
         //You can now loop through the image to display them as required
         if( !is_null($featuredImages) ){
   
               $links = array();
   
               foreach($featuredImages as $images){
                   $thumb = $images['thumb'];
                   $fullImage = $images['full'];
   
                   $links[] = "<a href='{$fullImage}' class='dfiImageLink'><img src='{$thumb}' alt='' height='{$height}' width='{$width}' /></a>";
               }
   
               echo "<div class='dfiImages'>";
               foreach($links as $link){
                 echo $link;
               }
               echo "<div style='clear:both'></div>";
               echo "</div>";
            }
       }
       ```
   
 * Thanks,
    Ankit

Viewing 1 replies (of 1 total)

The topic ‘Please explain version 3.0’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dynamic-featured-image_444643.svg)
 * [Dynamic Featured Image](https://wordpress.org/plugins/dynamic-featured-image/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dynamic-featured-image/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dynamic-featured-image/)
 * [Active Topics](https://wordpress.org/support/plugin/dynamic-featured-image/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dynamic-featured-image/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dynamic-featured-image/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ankit Pokhrel](https://wordpress.org/support/users/ankitpokhrel/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/please-explain-version-30/#post-4650129)
 * Status: resolved