image class that wraps plotly's image export api