Set obj.images to images