Ajax request for send images paths to backend