Moved grabbing to img