Skip to content

jonastisell/youtube_imagehost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

YouTube Image Host URL Parameter Documentation

These are also usable in Picasa, Blogger and Google+ image links, as they all use the Google Image Host
Mostly accurate as of March 2023

Rules

If GIF is bigger than 8192px*8192px, the image shows error code 400 (Bad Request)

If image is bigger than 12247px*12247px, the image shows error code 400 (Bad Request)

Trying unexisting parameters makes the image show error code 400 (Bad Request)

Highest quality saved on server is 797x797 for profile pictures from YouTube

Default parameters (set in all profile images and various others)

s - size, proceeded by a integer (defaults to 512x512 if not set - can also use w[size] and h[size])

k - Makes GIF show a play-button (if "no" isn't set)

no - Stops GIF from moving (needs "rj")

rj - makes image JPG (when not set, image gets changed to the original filetype)

c - makes image same width and height, also makes width 2 pixels smaller sometimes, for some reason (sometimes also allows image to be larger than 797x797 pixels)

c0xffffffff - Unknown

mo - Unknown

Other parameters

cc - Makes image circular (doesn't work if c is set)

d - Autodownloads image (Credit to Codesiderations)

fcrop64 - crops the image. Setting it to 2 throws an error (used to show an alert-sign) [from banner parameters]

ft - Unknown

g - Shows the XML used to render the profile picture (TileInfo) - also ignores other parameters

h - Displays img in a html-page

I - Redirects url to googleusercontent.com - once redirected it shows client doesn't have permission. (removing I then makes it work)

l - compression level, proceeded by an integer (e.g. l0 results in a heavily compressed image) - default is around "l82", thus making "l100" higher quality than default [found in Youtube Music]

p - Crops the image to the width and height, instead of resizing to the smallest value. If only width or height is set alone, it malfunctions.

t - Starting parameter with -t allows you to write anything after it without it breaking (e.g. "-tHELLO" won't break it)

U - Does same as -I, but url is different (removing U then makes it work)

Retired parameters (no longer works)

a / mm - Shows the old default profile-picture (blue square with a star inside) - Always shows if parameter starts with mm (can have anything behind)

About

Documentation of the different parameters available in the Youtube Image Host. (Google Image Host, which is also used by Blogger and Picasa)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors