Php Array Object Remove Element From Image