removes base64 dependency for images