Title: echo get_the_post_video_image function issue
Last modified: August 22, 2016

---

# echo get_the_post_video_image function issue

 *  [Adson5th](https://wordpress.org/support/users/adson5th/)
 * (@adson5th)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/echo-get_the_post_video_image-function-issue/)
 * The echo get_the_post_video_image function is not working for me.
 * Can anyone else confirm that it is working or know how to fix my issue?
 * Here’s the code that I am using the function in:
 * if ( has_post_video( $post_id ) == true) {
    echo get_the_post_video_image( $post_id,
   array( 100, 100)); } else { echo get_the_post_thumbnail ( $post_id, array( 100,
   100), array(‘class’ => ‘alignleft’)); }
 * This code is in a while statement that grabs the $post_id so that is not an issue.
   
   The normal get_the_post_thumbnail function works like normal.
 * For posts using the featured video plus option in the post settings using youtube
   url do not display a picture when using this function. At least for me.
 * I can’t find anywhere in the code or function code on why this wouldn’t be working
   properly.
 * Anyone with any insight?
 * [https://wordpress.org/plugins/featured-video-plus/](https://wordpress.org/plugins/featured-video-plus/)

The topic ‘echo get_the_post_video_image function issue’ is closed to new replies.

 * ![](https://ps.w.org/featured-video-plus/assets/icon.svg?rev=1170997)
 * [Featured Video Plus](https://wordpress.org/plugins/featured-video-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-video-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-video-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-video-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-video-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-video-plus/reviews/)

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)

 * 0 replies
 * 1 participant
 * Last reply from: [Adson5th](https://wordpress.org/support/users/adson5th/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/echo-get_the_post_video_image-function-issue/)
 * Status: not resolved