img id to name util