table_name to image path