respect image size when closed view is opened

Ticket

+commit
 

 

 

 

this works now.