Weather by You!

Templates and Projects support => Html Templates => Topic started by: tfavors on May 31, 2013, 11:54:44 AM

Title: Day and Night Icons
Post by: tfavors 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
Title: Re: Day and Night Icons
Post by: Mr.Meteo 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
Title: Re: Day and Night Icons
Post by: tfavors 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
Title: Re: Day and Night Icons
Post by: Mr.Meteo 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
Title: Re: Day and Night Icons
Post by: tfavors 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
Title: Re: Day and Night Icons
Post by: tfavors 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
Title: Re: Day and Night Icons
Post by: tfavors on June 01, 2013, 02:06:16 PM
Tried this way with no luck yet as well?

Thank you, Terry
Title: Re: Day and Night Icons
Post by: Mr.Meteo on June 02, 2013, 05:03:39 AM
Hi Terry,

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

Regards,
Jacques
Title: Re: Day and Night Icons
Post by: tfavors on June 02, 2013, 05:48:09 AM
I created a folder and put them there here is where I put them?
Title: Re: Day and Night Icons
Post by: tfavors on June 04, 2013, 07:58:14 PM
I have still not got this to work after many attempts? See anything wrong?

Thanks, Terry
Title: Re: Day and Night Icons
Post by: Mr.Meteo 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
Title: Re: Day and Night Icons
Post by: tfavors 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