Make thumbnail in library work

Signed-off-by: THE DINJ <thedinj@yahoo.com>