I'm afraid you cannot use AutoSize in such scenario. The AutoSize functionality calculates the size of the content page in order to resize the RadWindow accordingly. In your case however, there is no page because you are opening the image directly in RadWindow.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items