Support » Plugin: Weather Underground » Name of custom icons

Viewing 3 replies - 1 through 3 (of 3 total)
  • Regine, I’m baffled too! I found no clues in the plugin code.

    I found some names by typing in different values using http://icons-ak.wxug.com/i/c/g/ as a prefix (e.g., http://icons-ak.wxug.com/i/c/g/sunny.gif). Here are the ones that worked:

    snow.gif
    rain.gif
    sunny.gif and clear.gif are the same icon
    cloudy.gif

    But in the examples at https://katz.co/wunderground/ there is one more that is similar to cloudy. I tried overcast, gray, partly-cloudy, with no luck. Will keep trying but in the meantime anyone with a clue is invited to jump in!

    Thanks,
    Donna

    Thanks to @wdesousa for answering this question in a different thread (http://wordpress.org/support/topic/icons-ecast-hosed):

    As to icon names – if you grab them from http://www.wunderground.com/weather/api/d/docs?d=resources/icon-sets they are already correctly named to correspond to the different weather events.

    So here is the list I came up with:

    Daytime
    
    chanceflurries.gif
    chancerain.gif
    chancesleet.gif
    chancesnow.gif
    chancetstorms.gif
    clear.gif
    cloudy.gif
    flurries.gif
    fog.gif
    hazy.gif
    mostlycloudy.gif
    mostlysunny.gif
    partlycloudy.gif
    partlysunny.gif
    sleet.gif
    rain.gif
    sleet.gif
    snow.gif
    sunny.gif
    tstorms.gif
    cloudy.gif
    partlycloudy.gif 
    
    Nighttime
    
    nt_chanceflurries.gif
    nt_chancerain.gif
    nt_chancesleet.gif
    nt_chancesnow.gif
    nt_chancetstorms.gif
    nt_clear.gif
    nt_cloudy.gif
    nt_flurries.gif
    nt_fog.gif
    nt_hazy.gif
    nt_mostlycloudy.gif
    nt_mostlysunny.gif
    nt_partlycloudy.gif
    nt_partlysunny.gif
    nt_sleet.gif
    nt_rain.gif
    nt_sleet.gif
    nt_snow.gif
    nt_sunny.gif
    nt_tstorms.gif
    nt_cloudy.gif
    nt_partlycloudy.gif
    Plugin Author Zack Katz

    (@katzwebdesign)

    Thanks @mcdonna – that’s a good list. Version 2.x includes the icons in the plugin file, so you can refer to those in the /wunderground/assets/img/icons/ directory.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Name of custom icons’ is closed to new replies.