add case for when it's type image_record