# Image upload with synchronous true for new users

**URL:** <https://meta.discourse.org/t/image-upload-with-synchronous-true-for-new-users/52886>\
**Category:** Product Support\
**Created:** [14 בנובמבר,‏ 2016,‏ 5:58pm UTC](https://meta.discourse.org/t/image-upload-with-synchronous-true-for-new-users/52886 "2016-11-14T17:58:46Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Kenneth85](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@Kenneth85](https://meta.discourse.org/u/Kenneth85)\
**Post date:** [14 בנובמבר,‏ 2016,‏ 5:58pm UTC](https://meta.discourse.org/t/image-upload-with-synchronous-true-for-new-users/52886/1 "2016-11-14T17:58:46Z")

</div>

When i try to uploade a image with a user that is not a admin or moderator i get the success : “OK” insted of the image url. Hobe some one can help with a answer.

```
$.ajax({
    url: "/uploads.json",
    type: "post",
    data: formData,
    processData: false,
    contentType: false,
    headers: {
         'X-CSRF-Token': getCsrftoken()
   },
   success: function (data) {},
   error: function (XMLHttpRequest, textStatus, errorThrown) {}
});

```

---

_[View the full topic](https://meta.discourse.org/t/image-upload-with-synchronous-true-for-new-users/52886)._
