Not what you're looking for? Visit our Previous Support Site

Images

How do I retrieve images?

Image references are contained in “medias” node of the XML. All the caption and credit information is held here too, along with the dimensions of the image. The image can be retrieved by appending the file path to the root URL: media.wiley.com. So, if the data in the feed is like this:


<medias>

<media id="332668" mediaType="I-SM" mimeType="image/jpeg"  height="99" width="105" credit="" copyright="" caption="Overlooking  Courts 14 & 15 during The Championships. Courtesy of  www.britainonview.com" keywords="WFET" url="/frommers/866/332668-I-SM-31227.jpg"  />

<media id="332668" mediaType="I-BG"  mimeType="image/jpeg" height="150" width="160"  credit="" copyright="" caption="Overlooking Courts 14 & 15 during  The Championships. Courtesy of www.britainonview.com" keywords="WFET"  url="/frommers/866/332668-I-BG-31227.jpg" />

</medias>

The request for the images will be as follows: http://media.wiley.com/frommers/866/332668-I-SM-31227.jpg or http://media.wiley.com/frommers/866/332668-I-BG-31227.jpg

Note that in this example the two referenced images are actually the same but in two different sizes. This is to allow you some flexibility in display.