complete the php deal many images func —— temp !