Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

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...

the code :

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);
        } ...
The process still on false and the response without the urls property.

Am I missing something?

Thanx for your helps... Roy


Viewing all articles
Browse latest Browse all 8068

Trending Articles



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