Renamed res to img