MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Images of MMM-EARTH, MMM-Globe, MMM-SolarPicture and MMM-nasaastropic are very small

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 3 Posters 1.5k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      madradrakie
      last edited by madradrakie

      Hello,

      I have the following problem. I use the following 4 modules on my magic mirror but i the images are shown very small. See example below.
      Can anybody give my a tip how i can enlarge these images? I used the following code:

      {
      module: "MMM-nasaastropic",
         position: "bottom_left",
         config: {
         updateInterval: 6*60*60*1000,
         animationSpeed: 0,
         header: 'NASA Astronomy Picture',
         maxlongedge: 1200 //300
                       }
      },
      
      {
      module: "MMM-EARTH",
          position: "top_right",
          header: "Earth",
          config: {
              mode: "Natural",
              rotateInterval: 15000,
              MaxWidth: "100%",
              MaxHeight: "100%",
          }
      },
      
      {
      module: 'MMM-Globe',
      	position: 'top_right',
              header: "Earth",
      	config: {
      		style: 'geoColor',
      		imageSize: 1800,
      		ownImagePath:'',
      		updateInterval: 10*60*1000
      	}
      
      

      (Knipsel.JPG

      Thanks for your help!

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @madradrakie
        last edited by Mykle1

        @madradrakie said in [Images of MMM-EARTH, MMM-Globe, MMM-SolarPicture and MMM-nasaastropic are very small

        {
        module: "MMM-EARTH",
            position: "top_right",
            header: "Earth",
            config: {
                mode: "Natural",
                rotateInterval: 15000,
                MaxWidth: "100%",
                MaxHeight: "100%",
            }
        },
        

        At MaxWidth: "100%", and MaxHeight: "100%", it’s very likely that they are being pushed off the display. I just used your config entry for MMM-EARTH and changed the position to top_center. Notice how it invades the other regions?

        Here is my result:

        Screenshot from 2020-07-23 20-39-11.png

        So, make them all smaller until you get them all on screen, then make them larger incrementally.

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • G Offline
          grena Module Developer
          last edited by

          Hello @madradrakie,

          To display Astronomy Picture Of the Day (APOD), I advise you to use MMM-APOD rather than MMM-nasaastropic. MMM-APOD uses NASA API and it can display all the information provided by NASA (image or video).

          For MMM-APOD and MMM-SolarPicture, you can use the maxMediaWidth and maxMediaHeight options to set the image size in pixels.

          I hope this will help!

          Grena

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy