This project is read-only.

Image locations and type

Mar 17, 2010 at 10:31 AM

Roman,

The image type is gif, but i want to use PNG files. Can that be made "User type"?

This is the same for image location. I want to specify the location myself. Is this possible in current version?

 

Thanx again.

Hein

 

 

Mar 17, 2010 at 10:35 AM

It's not possible directly, but you can modify the source (Check out the latest from the TFS) to do so.

You can also write your own code for conversion of images from gif to png

 

Take a look at my blog @ http://blog.animaonline.com/ I posted a link to an article about weather API images, it may come in handy. Also take a look at the previous posts here on CodePlex.

 

:)

Mar 17, 2010 at 12:00 PM

Roman,

 

I can not find a previous discussion which handles the file location. Where in source code can i change image location??

I already changed the png files in gif files.

 

Hein

Mar 17, 2010 at 2:34 PM

Roman,

Can not figure out where to place the images...

Or are they on the google site?

 

Hein

 

Mar 17, 2010 at 2:50 PM
Edited Mar 17, 2010 at 2:51 PM

Hi Hein!

I was afk for lunch, so I didn't see your post till now.

Yup, the images are located on google's web servers

Take a look at this thread: http://awapi.codeplex.com/Thread/View.aspx?ThreadId=54845

And the XML feed from google (Which the API parses and uses)

http://www.google.com/ig/api?weather=Phoenix%20AZ

 

<icon data="/ig/images/weather/sunny.gif"/>
This is the relative Url to a weather icon.

The full Url will be: http://www.google.com/ig/images/weather/sunny.gif