Fix thumbnail URL

The thumbnail URL gets sent to the browser, so it should be the public URL
Merge pull request #1471 from jean/master

Fix thumbnail URL