Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

000000book image uploading?

3 views
Skip to first unread message

oldskool73

unread,
Jul 22, 2010, 9:48:32 AM7/22/10
to graffiti-markup-language
Hi again,

I can't see any reference on the API page about uploading the
associated image with the GML, is this possible for 3rd party apps and
if so, any hints on how?

Cheers,
Adam

Jamie Wilkinson

unread,
Jul 22, 2010, 1:03:27 PM7/22/10
to graffiti-mar...@googlegroups.com
Yep, just include the raw image data in the 'image' field. JPG/GIF/PNG work, and maybe others. I'll add this to docs asap

Ruby code I've been using to upload missing thumbnails using myildirim's GMLImageRenderer:
http://github.com/jamiew/GMLImageRenderer/blob/master/uploader.rb

-jamie

http://jamiedubs.com | http://fffff.at | http://knowyourmeme.com

> --
> -~-~-~-~-~-~>
> GML Mailing List: http://groups.google.com/group/graffiti-markup-language
> Unsubscribe: graffiti-markup-la...@googlegroups.com

oldskool73

unread,
Jul 22, 2010, 1:31:48 PM7/22/10
to graffiti-markup-language
ahh, so it's just added in the post data, not part of the gml, makes
sense, I'll give it a go...

Cheers,
A
Reply all
Reply to author
Forward
0 new messages