Author Topic: installing mooons  (Read 1235 times)

Offline caboz

  • Newbie
  • *
  • Posts: 1
    • casa da lancha
installing mooons
« on: January 14, 2021, 02:12:43 PM »
Can some one help me how to install difrent moons i downloaded here
my template for cumulus 1 is Sunny Weather . thank you

Offline Andy9164

  • Full Member
  • ***
  • Posts: 87
    • Midlifedad
Re: installing mooons
« Reply #1 on: January 18, 2021, 03:06:24 AM »
Hi,
Which images did you download and can you give an example of the filename of one of the images.

I am not html expert as I use php for my website but I will try and help you.

What we need to try and do us use the webtags from Cumulus to create an image name which points to the correct moon image. In Cumulus 1, it just creates an image called moon.bmp which the template points to in this line of code. I dont even know if this is possible.

<div style="height: 140px;background-image: url('images/ciel.jpg'); background-repeat: no-repeat">
                  <img src="images/moon.bmp" style="padding: 15px 0px 0px 120px" alt="Lunar phase icon" title="Lunar phase icon" />
               </div>

The newer version on Cumulus (CumulusMX) automatically now generates an image called moon which shows the current moonphase. I use that on my website now rather than having a lot of different images.

You can see my webpage here. http://www.midlifedad.me.uk/weather/index.php. Scroll down on the right and you will see the image created in CumulsMX.

My page started as Weather Blues 2 php version but it has changed a lot but the base code is still one the one that Jacques wrote.

Andy
« Last Edit: January 19, 2021, 05:06:44 AM by Andy9164 »