WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Automatic Youtube Video Posts Plugin] Images replaced by this plugin

[Plugin: Automatic Youtube Video Posts Plugin] Images replaced by this plugin

  • When I activate this plugin and put it to use, it replaces the images in another area of my site to the image it creates for the post.

    In other words, this plugin creates the post perfectly, but in another area of my blog, the images that were there are replaced by the image that this plugin uses as its default on the post it creates.

    This only happens when it is the most current post. As long as another post is more recent, this does not happen.

    Any insights as to why this might be happening?

    Thanks

    http://wordpress.org/extend/plugins/automatic-youtube-video-posts/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ternstyle

    @mpraetzel

    The image is replaced on a post that has a video assigned to it or a post that does not have a video assigned to it?

    hermantf

    @hermantf

    No video assigned. It is affecting a music player that shows album artwork. The album artwork is replaced by the default image that this plugin creates. But only if it is the most recent post.

    Thanks!

    Plugin Author ternstyle

    @mpraetzel

    Weird. Is there any information when editing the post in the YouTube ID field?

    hermantf

    @hermantf

    No.

    Plugin Author ternstyle

    @mpraetzel

    That’s the part I don’t understand. As you can see below the plugin checks to see if there is a YouTube video associated with the post before it hijacks the thumbnail:

    $m = get_post_meta($post->ID,'_tern_wp_youtube_video',true);
    if($m) {
    	$html = '<img src="'.get_bloginfo('wpurl').'/wp-content/plugins/automatic-youtube-video-posts/tools/timthumb.php?src=http://img.youtube.com/vi/'.$m.'/0.jpg&w='.$w.'&h='.$h.'&zc='.$c.'" alt="" title="'.$i.'" />';
    }
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Automatic Youtube Video Posts Plugin] Images replaced by this plugin’ is closed to new replies.