Added ability to toggle image aspect ratio (resized/realsize)