Use the same implementation as onSetProjectThumbnailer which does the same thing for getting a thumbnail externally.