fixed the image url thing in json
took out the response stuff, because we are render json in the views