add item method, img is optional now