resolving iamge uploads problem
image upload changes