working imag upload and jqery img loading