gd: add gd->img to display gd image structures