Fix thumbnail access
Merge pull request #714 from romainneutron/fix-access

[3.8] Fix thumbnail access