t l R r

Earth Observatory IOTD Widget


Provides a simple sidebar widget to display NASA’s Earth Observatory Image of the Day and/or the RSS feed. Numerous options are available to display the content the way you want, including control on the image width and description.

The widget can also output just the RSS feed, providing links to previous images for up to the last 10 days (maximum available in feed).

Thumbnail images are cached to the plugin folder daily if needed, and the RSS feed is updated hourly.


Download v1.0 >>> extract and upload to the plugins folder

Use the comments below for questions or suggestions.

9 comments to “Earth Observatory IOTD Widget”

  • Sofija, 26 Apr ’14 at 23:14

    Hi, thanks for the great widget! Is it possible to remove “read more” or translate it on other language?

    • Henry, 27 Apr ’14 at 10:58

      Hi Sofija,

      You could add your own text by editing the eo_iotd.php file in the plugin folder…line 105 is the relevant section of code. If you send me the correct text for your language, I can look into adding translations for the plugin at a later date.

  • Barb Carlson, 17 Apr ’14 at 20:47

    I installed this on a different ISP and it worked great. But I tried putting it on the science fiction club’s page (on iPower) and I get this error:

    Warning: copy() [function.copy]: URL file-access is disabled in the server configuration in …/public_html/wp-content/plugins/earth-observatory-iotd-widget/eo_iotd.php on line 98

    Warning: copy(…/piqiang_ast_2005055_468_decorrelation_tn.jpg) [function.copy]: failed to open stream: no suitable wrapper could be found in …/public_html/wp-content/plugins/earth-observatory-iotd-widget/eo_iotd.php on line 98

    I changed permissions to 777 for the folders and that didn’t help.

    • Henry, 18 Apr ’14 at 10:44

      You could try changing these settings (from off to on) in the php.ini file:

      allow_url_fopen = On
      allow_url_include = On

      • Barb Carlson, 18 Apr ’14 at 15:07

        Thank you, Henry, for helping. You said, “You could try changing these settings (from off to on) in the php.ini file:”

        Where would that be located? The file manager search feature on iPower does not use wildcards or search subdirectories. I couldn’t find anything like that where the program is located, either.

  • Jerry Butler, 16 Sep ’13 at 15:53

    This site is just now being built. The widget looks great, but I’m having issues with the picture not coming up? Have you had this issue before? Is there a setting on my end that will fix this? It just comes up with a broken link to the picture.

    Thanks for your help.

    Jerry Butler

    • Henry, 16 Sep ’13 at 19:27

      The plugin saves thumbnails in the ‘cache’ folder (../wp-content/plugins/earth-observatory-iotd/cache) so as not to hotlink NASA’s images. I suspect they aren’t getting saved there, so try setting that folder’s permissions to 755 or 777.

  • bahad1r, 8 Aug ’13 at 01:52

    this is a very useful plugin. thanks a lot. would you ever consider doing anything else, so like that http://epod.usra.edu/

  • Shahab Khan, 14 Mar ’13 at 11:25

    Worked just perfect. Thank you.
    You can preview the website at: http://grsg.org.uk/