1 Reply Latest reply: Apr 24, 2008 8:23 AM by Donald Booth RSS

    Grab picture of the day with Spry?

    jefbak Community Member
      Hi,
      I want to grab the picture of the day from: nasa APOD site
      and make that picture spry-fade in on my web page. Since I don't know how big the picture will be I need the frame to auto size or use spry shrink/grow to set pixel size??

      Not sure how to proceed.
        • 1. Re: Grab picture of the day with Spry?
          Donald Booth Community Member
          You can only request AJAX data from the same domain as your Spry page.
          Therefore, you will need to use a server side component to get the APOD image and then use that for your data source.
          You can use their RSS feed to get the URL, but they don't provide the image height and width, so you will have to make it a standard size, or let your CSS layout autosize for it.