Great new functionality. Looks like the documented google.picker.ViewId.UPLOAD type does not work.
Tested in Chrome Stable 12.x.
Error: Uncaught TypeError: Cannot call method 'ma' of undefined
-- var picker = new google.picker.PickerBuilder(). addView(google.picker.ViewId.UPLOAD). setCallback(pickerCallback). build(); --
Also a very very strange thing, at least from my understanding is that you do NOT get the path to the file. But only to the 'site' above it. Like you do not get the filename for a picture in Picasa, but the site that will display the picture. Also the same for Google Image Search. That will make it unusable?
Looks like it is not yet that powerfull. I see you can do something with the thumbs (for Google Image Search part) in the data object, but then you need to guess which one should it be, the first is the image link from the Google Cache, the second is the link to the direct picture.
So after testing it, I dont know what the use of it should be? Regards!
Only uploading to Picasa is currently available. The ViewId is PHOTO_UPLOAD.
For photos and image search, the doc field in the return value is, as you state, the URL of the page containing the image. The *last* element in the thumbnails array should be the URL to the full-size image itself. The naming could be better, I agree.
Would be nice if the documentation could be updated a little on this (pointing to site), how to use the results.
And probably a clear 'variable' / property that indicates that direct url instead of probably 'dynamic' *last* value and doing things like .length-1 things :)
yeah a new API, when will you deprecate it? ok, sorry, that is a little harsh, i'm just frustrated that Google promised to de-deprecate the translate API (see http://googlecode.blogspot.com/2011/05/spring-cleaning-for-some-of-our-apis.html) but well, if i visit http://code.google.com/apis/language/translate/overview.html the death API death clock is still ticking.... yeah, i know we are just developers and these are your APIs, but any news from that front? asks and best regards franz enzenhofer, austria, vienna
franz is right, we want to get news about your tanslate API. It is a good product and it s y pity to depreciate it, it seems to be now a new development !! a paid version , ok we have to pay now... but better pay (please be not too expansive) that nothing more after the 01 of december :-) we are waiting hearing from you :-)
Oh cool! Will Google be using this internally to allow us to add attachments from Docs, Picasa, etc. in Gmail?
ReplyDeleteNow, that is uber awesome.
ReplyDeletebonjour ,bienvenu a toute et a tous
ReplyDeleteGreat new functionality. Looks like the documented google.picker.ViewId.UPLOAD type does not work.
ReplyDeleteTested in Chrome Stable 12.x.
Error: Uncaught TypeError: Cannot call method 'ma' of undefined
--
var picker = new google.picker.PickerBuilder().
addView(google.picker.ViewId.UPLOAD).
setCallback(pickerCallback).
build();
--
Also a very very strange thing, at least from my understanding is that you do NOT get the path to the file. But only to the 'site' above it. Like you do not get the filename for a picture in Picasa, but the site that will display the picture. Also the same for Google Image Search. That will make it unusable?
Looks like it is not yet that powerfull. I see you can do something with the thumbs (for Google Image Search part) in the data object, but then you need to guess which one should it be, the first is the image link from the Google Cache, the second is the link to the direct picture.
So after testing it, I dont know what the use of it should be? Regards!
Only uploading to Picasa is currently available. The ViewId is PHOTO_UPLOAD.
ReplyDeleteFor photos and image search, the doc field in the return value is, as you state, the URL of the page containing the image. The *last* element in the thumbnails array should be the URL to the full-size image itself. The naming could be better, I agree.
Haha. Ok.
ReplyDeleteThanks for the information :)
Would be nice if the documentation could be updated a little on this (pointing to site), how to use the results.
And probably a clear 'variable' / property that indicates that direct url instead of probably 'dynamic' *last* value and doing things like .length-1 things :)
I'll try and update the results guide: http://code.google.com/apis/picker/docs/results.html based on your feedback.
ReplyDeleteAs for aliasing the full-size image URL in another field is something my team will discuss.
yeah a new API, when will you deprecate it? ok, sorry, that is a little harsh, i'm just frustrated that Google promised to de-deprecate the translate API (see http://googlecode.blogspot.com/2011/05/spring-cleaning-for-some-of-our-apis.html) but well, if i visit http://code.google.com/apis/language/translate/overview.html the death API death clock is still ticking.... yeah, i know we are just developers and these are your APIs, but any news from that front? asks and best regards franz enzenhofer, austria, vienna
ReplyDeletewith this method we can simply take the link in question!
ReplyDeleteawesome \m/
franz is right, we want to get news about your tanslate API. It is a good product and it s y pity to depreciate it, it seems to be now a new development !! a paid version , ok we have to pay now... but better pay (please be not too expansive) that nothing more after the 01 of december :-) we are waiting hearing from you :-)
ReplyDelete