When I do this, I am getting the HTML for the image, and not the image itself. 
Therefore the statement "put someImage into image 1" fails. 

Bob


On Mar 11, 2011, at 2:55 AM, Gerry wrote:

> This works:
> 
> put url 
> "http://maps.google.com/maps/api/staticmap?center=canberra&zoom=8&size=512x512&maptype=roadmap&sensor=false";
>  into someimage
> put someimage into image 1
> 
> 
> 
> But when I use the text in a field in building the url it breaks - I get a 
> "bad request 400 error" from the Google server:
> 
> put url "http://maps.google.com/maps/api/staticmap?center="; & fld "place" & 
> "&zoom=8&size=512x512&maptype=roadmap&sensor=false" into someimage
> put someimage into image 1
> 
> What am I missing? When I write the string out to the message box and then 
> paste that into the url field in my browser, it works fine.
> 
> Argggh. 
> 
> Gerry
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to