updated randomImage php skeleton to be called from button push