Fixed: return the selected image