Implement thumbnail generation for azure