var data = new FormData($('#form_id_ne_ise_o')[0]);
$.ajax({
type:'post',
cache: false,
contentType: false,
processData: false,
data:data,
url:'{{route("post.edilecek.url")}}',
success:function(e){
console.log(e);
},
error:function(e){
console.log(e);
}
});
Ajax fonksiyonunuz böyle olursa eğer hiçbir sorun yaşamadan resim yükleme yapabilirsiniz.