Page 1 of 1

Moonphase icon upload ** solved **

Posted: Wed Jul 16, 2008 7:29 pm
by oliverb
I have set Meteohub to upload the Moonphase Icon daily. It worked fine for a few days but now the image is not displayed. Meteohub is uploading it with the name "moonphase.png" as set in the graph upload but it seems to be in an unknown format.

See my Weather site here http://home2.btconnect.com/brettoliver/ ... eather.htm

Any ideas?
Brett.

Re:Moonphase icon upload

Posted: Wed Jul 16, 2008 7:46 pm
by wfpost
I can see your Lunar Phase:
Seems your browser cache having a problem.
Try pressing F5 to reload the page.

Image

Re:Moonphase icon upload

Posted: Wed Jul 16, 2008 7:51 pm
by wfpost
BTW: I have reworked the original moonphase icons and made them with a transparent background. If anyone is interested, let me know!

Re:Moonphase icon upload

Posted: Thu Jul 17, 2008 7:35 pm
by admin
I would be interested.

Re:Moonphase icon upload

Posted: Thu Jul 17, 2008 7:53 pm
by admin
I have placed an archive with the actual icons here:
http://www.meteohub.de/joomla/index.php ... &Itemid=29

Please download, unzip and put into "/public/graphs/" if your current icons are not working.

Re:Moonphase icon upload

Posted: Thu Jul 17, 2008 8:58 pm
by dennisbowman
Hi, I had the same problem. I found that the Full moon
Icon is 10,151 bytes all the others are less than 10k.
I change the mp2.png (Full moon) to just under 10k
and everything works ok. Mustbe a problem with uploading
more than 10k.

I hope this helps.
Dennis

Re:Moonphase icon upload

Posted: Thu Jul 17, 2008 10:22 pm
by admin
I have replaced the icon > 10k by a slightly smaller one. The new icons can now be downloaded here: http://www.meteohub.de/joomla/index.php ... &Itemid=29

Re:Moonphase icon upload

Posted: Fri Jul 18, 2008 12:21 am
by sevenless
You can also use a PNG optimizer such as OptiPNG (freeware) to losslessly decrease the file size of the moonphase images. For instance, my full moon icon decreased to 5,216 bytes after optimization -- that's nearly 50% smaller with no reduction in image quality!

I had similar size reduction results for all the moonphase icons, although the forecast icons are already fairly well optimized so they decrease in size by a much smaller percentage... although when serving images on a web page every byte counts!

Re:Moonphase icon upload

Posted: Fri Jul 18, 2008 6:27 pm
by oliverb
Thanks for all the info. I have downloaded the new icons. I will let you know how I get on.
Brett.

Re:Moonphase icon upload

Posted: Sat Jul 19, 2008 11:29 pm
by oliverb
Tested overnight and now seems to be working correctly.
Thanks.
Brett.

Re:Moonphase icon upload

Posted: Fri Jul 25, 2008 7:05 pm
by wfpost
admin wrote:I would be interested.
you can download the reworked icons here:
http://www.myway.de/honsolgen/mp.7z

Archive also contains an animated gif with the 7 phases