use base64-encoded png for thumbnails so size is stable