MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-Profilepictures: problem with configuration

    Utilities
    2
    5
    1836
    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.
    • B
      Binog last edited by Binog

      Hey snille

      Having trouble to set it up.
      Here is my config, and it throws up my config-file

      {
      	module: "MMM-Profilepicture",
      	position: "fullscreen_below",
      	classes: "me",
      	config: {
      		opacity: "0.2",
      		maxWidth: 90%,
      		maxHeight: 90%,
      		url: "URL-to picture", 
      		},
      	},
      

      The problem exists with the maxWidth/Height . There is no difference between 90% and “90%” so how is the correct spelling? if I set a // in front of those two lines my config-files does not throw up, but I don’t see the pictures.
      Can You help me, please?

      1 Reply Last reply Reply Quote 0
      • B
        Binog last edited by

        How to send it to the correct bug-report for this module?

        strawberry 3.141 1 Reply Last reply Reply Quote 0
        • strawberry 3.141
          strawberry 3.141 Project Sponsor Module Developer @Binog last edited by

          @Binog it has to be in quotes

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • B
            Binog last edited by

            as said above,. it does not differ. that example was just the last try, thats why I posted it,… Figured out, that a “0.9” does not crash the config, but does neither work…

            strawberry 3.141 1 Reply Last reply Reply Quote 0
            • strawberry 3.141
              strawberry 3.141 Project Sponsor Module Developer @Binog last edited by

              @Binog 0.9 is not a valid value, you maybe want to check the property values section here https://www.w3schools.com/cssref/pr_dim_max-width.asp

              Please create a github issue if you need help, so I can keep track

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy