Make toImage helper more generic (#70)
Make toImage helper more generic (#70)

* make toImage helper more generic

* add error message when no url is provided

ProtonMail/WebClient,ProtonMail/WebClient,ProtonMail/WebClient