title: Upload image with datauri as source empty on ajax post call
body: <p>Hi Guys i cropped my image using jcrop and i have the data_uri for the cropped imaged i have collated them all into an array but it seems the array could not be passed when i make my ajax request as the array is empty in the php. here's my code below</p>
  
  <p>JS</p>
  
  <pre><code>var cropped_images = {/**array of data_uris **/};
  console.log(cropped_images); // still have my array intact
      $.post(url,cropped_images,function(data){
          console.log(data) //empty
      }
  )
  </code></pre>
  
  <p>PHP</p>
  
  <pre><code>public function url_from_ajax()
  {
     this-&gt;view = false;
     return json_encode($this-&gt;input-&gt;post()) //i'm using codeigniter so the post format is valid
  }
  </code></pre>