remove context manager 'as' usage in image example
add nested example