Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Receiving the urls immediately after create photo using ACS

$
0
0

Hello, I am trying to create photo using ACS and get URL of the photo immediately, I tried to call show function after the create function, but the response didn't included the urls property. even when I Specify photo_synch_sizes in the request, it didnt worked...

Cloud.Photos.create({
      photo : image,
     'photo_sizes[preview]' : '640x480',
     'photo_synch_sizes[]' : 'preview'
} function(e){
     if (e.success) {                    
             if (e.photos[0].processed==1)
    {   
        alert(e.photos[0].urls.square_75);
    }

Viewing all articles
Browse latest Browse all 7655


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>