Grab youtube thumbnail images

Date: 2010-11-15

Youtube has made it very easy comparing to others when it comes to grabbing thumbnail images for you to use as preview images in your custom video application or other. This is how the URL for youtube thumbnails looks like:

Code:

http://img.youtube.com/vi/_YOUTUBE_ID_/_IMAGE_NR_.jpg

Replace _YOUTUBE_ID_ with the ID of the video.
Replace _IMAGE_NR_ with a number 1-3 to get different thumbnails for the video in size 120x90px.