add image_by_name and image_by_index methods