client side: created function that makes an item division, needs the item to have an image though