removed dataURL support for preview generation