rename variable path to image