php code for spons image automation