adj img path and attributes to display in browser