Get youtube video’s image/thumbnail url

If you are embedding youtube video in your blog or news post and if you like to add thumbnail or medium sized photo of youtube video as featured image or slideshow then you can use below method to get thumbnail or images of youtube video.

1) For medium sized image of youtube video
http://i.ytimg.com/vi/<Youtube video ID>/0.jpg

2) To get thumbnail of youtube video.

http://i.ytimg.com/vi/<Youtube video ID>/1.jpg
http://i.ytimg.com/vi/<Youtube video ID>/2.jpg
http://i.ytimg.com/vi/<Youtube video ID>/3.jpg

3) To get maximum resolution image for video then try this.

http://i.ytimg.com/vi/<Youtube video ID>/maxresdefault.jpg

4) High Definition Image

http://img.youtube.com/vi/<Youtube video ID>/hqdefault.jpg

In above urls, you just need to give youtube video ID. To get youtube video id, go to youtube video in youtube website and check for URL. You will see some random alphanumerical text for parameter “v”. Thats video id of that video.

For example…

You need thumbnail of this video http://www.youtube.com/watch?v=hLQl3WQQoQ0 .

For this video, T7sIiqq66rkr is video id for this video and you can get thumbnails as below

http://i.ytimg.com/vi/hLQl3WQQoQ0/0.jpg (medium sized image)

http://i.ytimg.com/vi/hLQl3WQQoQ0/1.jpg (Thumbnail)
http://i.ytimg.com/vi/hLQl3WQQoQ0/2.jpg (Thumbnail)
http://i.ytimg.com/vi/hLQl3WQQoQ0/3.jpg (Thumbnail)

http://img.youtube.com/vi/hLQl3WQQoQ0/hqdefault.jpg (High Definition)

http://i.ytimg.com/vi/hLQl3WQQoQ0/maxresdefault.jpg (Maximum resolution)

If this information has helped you then please like and share to your friends and if you have anything to say, please write comment. We check comments regularly.

Chetan Patel

Chetan Patel is blogger, writes on Tech News, current trends, Gadgets Reviews, Website owner guide and Tips. You can connect him at Google+ & Facebook.