get data to image