commit image and jquery