update to new image api resources

a few changes related to the new io protocol of plotly's imaging service, which includes much better svg support!