Title: Local Thumbnails Come with Wrong Path/URL
Last modified: August 21, 2016

---

# Local Thumbnails Come with Wrong Path/URL

 *  [philipetauk](https://wordpress.org/support/users/philipetauk/)
 * (@philipetauk)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/local-thumbnails-come-with-wrong-pathurl/)
 * Hi I am using the get_the_post_thumbnail() so ti will return the featured image
   with the size that I want and have specified under the Media settings on wordpress,
   but when I do this, the path for the image comes like this:
 * [http://192.168.0.2/~philipetauk/zenarts/wp-content/uploads/http://b.vimeocdn.com/ts/177/307/177307061_640.jpg](http://192.168.0.2/~philipetauk/zenarts/wp-content/uploads/http://b.vimeocdn.com/ts/177/307/177307061_640.jpg)
 * It was suppose to grab the local thumbnail and the sir that I want but that is
   not the case, can you please help and let me know what do to.
 * If I use get_video_thumbnail($post->ID) it does work and show me the image but
   with the wrong size, I need the to be able to grab the featured image and specify
   a size.
 * I think WordPress is saving the external path in the database somehow.
 * Thank you,
    Philipe
 * [http://wordpress.org/plugins/video-thumbnails/](http://wordpress.org/plugins/video-thumbnails/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Sutherland Boswell](https://wordpress.org/support/users/sutherlandboswell/)
 * (@sutherlandboswell)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/local-thumbnails-come-with-wrong-pathurl/#post-4480588)
 * 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](https://wordpress.org/support/users/philipetauk/)
 * (@philipetauk)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/local-thumbnails-come-with-wrong-pathurl/#post-4480699)
 * The path response for get_video_thumbnail($post->ID)? is:
    [http://192.168.0.2/~philipetauk/zenarts/wp-content/uploads/http://b.vimeocdn.com/ts/177/307/177307061_640.jpg](http://192.168.0.2/~philipetauk/zenarts/wp-content/uploads/http://b.vimeocdn.com/ts/177/307/177307061_640.jpg)
 * I am using this plugin that batch resizes all the media images:
    [http://wordpress.org/plugins/regenerate-thumbnails/](http://wordpress.org/plugins/regenerate-thumbnails/)
 * I tried deactivating it, but the problem persists.
 * Any help would be appreciated.
 * Thanks.
 *  Plugin Author [Sutherland Boswell](https://wordpress.org/support/users/sutherlandboswell/)
 * (@sutherlandboswell)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/local-thumbnails-come-with-wrong-pathurl/#post-4480779)
 * 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](https://wordpress.org/support/users/philipetauk/)
 * (@philipetauk)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/local-thumbnails-come-with-wrong-pathurl/#post-4480784)
 * 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](https://wordpress.org/support/users/sutherlandboswell/)
 * (@sutherlandboswell)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/local-thumbnails-come-with-wrong-pathurl/#post-4480873)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/video-thumbnails_3e6f7f.svg)
 * [Video Thumbnails](https://wordpress.org/plugins/video-thumbnails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-thumbnails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/video-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-thumbnails/reviews/)

## Tags

 * [thumbnail error](https://wordpress.org/support/topic-tag/thumbnail-error/)
 * [wrong URL](https://wordpress.org/support/topic-tag/wrong-url/)

 * 5 replies
 * 2 participants
 * Last reply from: [Sutherland Boswell](https://wordpress.org/support/users/sutherlandboswell/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/local-thumbnails-come-with-wrong-pathurl/#post-4480873)
 * Status: not resolved