Author Topic: Day and Night Icons  (Read 11513 times)

Offline tfavors

  • Sr. Member
  • ****
  • Posts: 126
    • Weather Gray
Day and Night Icons
« on: May 31, 2013, 11:54:44 AM »
Love the day and night look I have looked at all here to be downloaded but not sure if the day night will work on my WB v1 template.  When I look into the folder after I download it I do not see them named what I think cumulus will recognize?  Will they work for me?

Thanks,
Terry

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Day and Night Icons
« Reply #1 on: May 31, 2013, 04:41:54 PM »
Hi Terry,

For sure you can have them!
One simple line to change.

See post: http://weatherbyyou.com/forum/index.php?topic=134.0

Regards,
Jacques
Please, consider supporting this site 

Offline tfavors

  • Sr. Member
  • ****
  • Posts: 126
    • Weather Gray
Re: Day and Night Icons
« Reply #2 on: June 01, 2013, 03:14:16 AM »
Thank you so much but I got to know what page to make this change on not sure what to do on this end? Thanks, Terry

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Day and Night Icons
« Reply #3 on: June 01, 2013, 06:20:42 AM »
Hi Terry,

In all pages where the forecast icon is, locate this line
(near bottom of page):

<img src="images/meteo/<#forecastnumber>.png" style="padding: 45px 0px 2px 70px"...

Change only "src=" part, like this

<img src="images/forecast/forecast_<#isdaylight>_<#forecastnumber>.png"  style="padding: 45px 0px 2px 70px"...

Regards,
Jacques
« Last Edit: June 05, 2013, 11:21:39 AM by Mr.Meteo »
Please, consider supporting this site 

Offline tfavors

  • Sr. Member
  • ****
  • Posts: 126
    • Weather Gray
Re: Day and Night Icons
« Reply #4 on: June 01, 2013, 12:48:43 PM »
Ok I did create a forecast folder and unzip all the icons into it and placed it on the server.  see photo attached. Now I think I can make the change on the page you stated earlier would this be correct?

Thanks,
Terry

Offline tfavors

  • Sr. Member
  • ****
  • Posts: 126
    • Weather Gray
Re: Day and Night Icons
« Reply #5 on: June 01, 2013, 01:11:51 PM »
I tried it but icon did not show up here is a copy of my line and I stopped after the 70px the other info after  that i left it there?

Thanks,
Terry

Offline tfavors

  • Sr. Member
  • ****
  • Posts: 126
    • Weather Gray
Re: Day and Night Icons
« Reply #6 on: June 01, 2013, 02:06:16 PM »
Tried this way with no luck yet as well?

Thank you, Terry

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Day and Night Icons
« Reply #7 on: June 02, 2013, 05:03:39 AM »
Hi Terry,

Have you put new weather icons to your images/forecast folder?

Regards,
Jacques
Please, consider supporting this site 

Offline tfavors

  • Sr. Member
  • ****
  • Posts: 126
    • Weather Gray
Re: Day and Night Icons
« Reply #8 on: June 02, 2013, 05:48:09 AM »
I created a folder and put them there here is where I put them?

Offline tfavors

  • Sr. Member
  • ****
  • Posts: 126
    • Weather Gray
Re: Day and Night Icons
« Reply #9 on: June 04, 2013, 07:58:14 PM »
I have still not got this to work after many attempts? See anything wrong?

Thanks, Terry

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Day and Night Icons
« Reply #10 on: June 05, 2013, 11:21:16 AM »
Hi Terry,
I have to snap your fingers this time!!!  :))

Have you see that these images are PNG files
NOT JPG!!!

Regards,
Jacques
Please, consider supporting this site 

Offline tfavors

  • Sr. Member
  • ****
  • Posts: 126
    • Weather Gray
Re: Day and Night Icons
« Reply #11 on: June 05, 2013, 04:37:09 PM »
Ohhh O Hmmm Oh  No I did not, It seems to be working now...  Thanks so very much..

Terry