wiring up waving (image upload)