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

    (@sutherlandboswell)

    That’s really strange, what is the image URL returned for get_video_thumbnail($post->ID)?

    Are you running any other plugins that modify WordPress uploads?

    Thread Starter philipetauk

    (@philipetauk)

    The path response for get_video_thumbnail($post->ID)? is:
    https://192.168.0.2/~philipetauk/zenarts/wp-content/uploads/https://b.vimeocdn.com/ts/177/307/177307061_640.jpg

    I am using this plugin that batch resizes all the media images:
    https://www.ads-software.com/plugins/regenerate-thumbnails/

    I tried deactivating it, but the problem persists.

    Any help would be appreciated.

    Thanks.

    Plugin Author Sutherland Boswell

    (@sutherlandboswell)

    Hmmm, regenerate Thumbnails wouldn’t be causing that (it’s a great plugin by the way), have you tried it with videos from other sources or ran the “Test Saving to Media Library” in the Video Thumbnails debugging section?

    Thread Starter philipetauk

    (@philipetauk)

    The “Test Saving to Media Library” works fine, if I do use a YouTube the <?php echo get_the_post_thumbnail($post->ID, “thumbnail”, “”); ?> will work. ?? So I assume is something related to Vimeo. Weird.

    Do you think I can change the plugin the function named: video_thumbnail() to return me the thumbnail size for the image always, since I just need this?

    Plugin Author Sutherland Boswell

    (@sutherlandboswell)

    The video_thumbnail() function reads a custom field just for Video Thumbnails, so there’s no way for me to get the thumbnail size without using get_the_post_thumbnail(). I’m kinda stumped by this, because if the URL is getting saved correctly in the custom field for Video Thumbnails, I don’t know why WordPress would be having trouble.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Local Thumbnails Come with Wrong Path/URL’ is closed to new replies.