86
http://img.youtube.com/vi/<insert-youtube-video-id-here>/0.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/1.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/2.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/3.jpg

That works for small thumbnails.

http://img.youtube.com/vi/<insert-youtube-video-id-here>/mqdefault.jpg

That works for HQ but only 1 image. Question is how to get 4 HQ thumbnail images?

Alexander Kim
  • 17,304
  • 23
  • 100
  • 157
  • 2
    possible duplicate of [How do I get a YouTube video thumbnail from the YouTube API?](http://stackoverflow.com/questions/2068344/how-do-i-get-a-youtube-video-thumbnail-from-the-youtube-api) – Salman A Nov 12 '14 at 06:57

5 Answers5

158

Are you referring to the full resolution one?:

https://img.youtube.com/vi/<insert-youtube-video-id-here>/maxresdefault.jpg

I don't believe you can get 'multiple' images of HQ because the one you have is the one.

Check the following answer out for more information on the URLs: How do I get a YouTube video thumbnail from the YouTube API?

For live videos use https://img.youtube.com/vi/<insert-youtube-video-id-here>/maxresdefault_live.jpg

- cornips

Community
  • 1
  • 1
Nate-Wilkins
  • 5,364
  • 4
  • 46
  • 61
26

YouTube resolutions and images

http://img.youtube.com/vi/<video-id>/<resolution><image>.jpg

Resolution
- lowest resolution
sd - Standard Definition
mq - Medium Quality
hq - High Quality
maxres - MAXimum RESolution

Image
default - Default image (1, 2, 3 shot from video, or custom uploaded)
1 - First shot from video
2 - Second shot from video
3 - Third shot from video

vacsati
  • 528
  • 6
  • 7
  • 1
    This works. I don't understand why isn't this the accepted answer. No answer really provided that info which the question was is really about. WEIRD. What am I missing? for example, this works just fine: `http://img.youtube.com/vi//hq3.jpg` – Ibrahim Mohamed Oct 22 '19 at 16:05
12

You can simply get HQ youtube thumbnails..

http://img.youtube.com/vi/YOUTUBE_VIDEO_ID/hqdefault.jpg

Chandra Kumar
  • 4,127
  • 1
  • 17
  • 25
  • What's the difference between "maxresdefault.jpg" and "hqdefault.jpg"? I've noticed that while "maxresdefault.jpg" seems more commonly used, YouTube videos often don't have a "maxresdefault.jpg", but they usually have a "hqdefault.jpg". – Neil Hillman Mar 31 '17 at 11:06
  • 3
    Just noticed that (depending on the format thought) "hqdefault.jpg" adds black borders on top and bottom, whereas "maxresdefault.jpg" doesn't.. – Alchem Apr 13 '17 at 08:20
  • also maxres can be bigger than HQ. – My1 Jun 08 '17 at 09:42
9

Depending on the resolution you need, you can use a different URL:

Default Thumbnail

http://img.youtube.com/vi/<insert-youtube-video-id-here>/default.jpg

High Quality Thumbnail

http://img.youtube.com/vi/<insert-youtube-video-id-here>/hqdefault.jpg

Medium Quality

http://img.youtube.com/vi/<insert-youtube-video-id-here>/mqdefault.jpg

Standard Definition

http://img.youtube.com/vi/<insert-youtube-video-id-here>/sddefault.jpg

Maximum Resolution

http://img.youtube.com/vi/<insert-youtube-video-id-here>/maxresdefault.jpg

Note: it's a work-around if you don't want to use the YouTube Data API. Furthermore not all videos have the thumbnail images set, so the above method doesn’t work.

Prais
  • 907
  • 9
  • 14
2

You need to get id from:

youtube.com/watch?v=VIDEO_ID

And put it in:

i.ytimg.com/vi/VIDEO_ID/maxresdefault.jpg

I hope that I helped :D