chore(client/js/image.js): #868 & #869 - cleanup
feat(*): #868 & #869 - Allow client-side or server-side generated thumbnail to be obtained via drawThumbnail method