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.

    MMM-Profile

    Scheduled Pinned Locked Moved Utilities
    8 Posts 6 Posters 3.5k Views 6 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.
    • S Offline
      santiago5
      last edited by

      hello, how i can load .jpg file locally?

      i tried:

      url:"/home/pi/MagicMirror/modules/MMM-Profile/xxxx.jpg" 
      

      but it doesn’t load image

      K 1 Reply Last reply Reply Quote 0
      • K Offline
        kurtern84 Project Sponsor @santiago5
        last edited by

        @santiago5 Hi there, try to set the url like this

        url:"", 
        

        Add your picture in the picture folder. then rename it to the default picture, like this : MMM-Profile/pictures/user-profile.png.

        Or you can change it in the mmm-profile.js file. (Line 121)

        if (this.config.url === false) { 
        			Log.info("No URL set under config, using dafault profile image: " + this.data.path + "pictures/user-profile.png");
        			this.config.url = "./" + this.data.path + "pictures/user-profile.png";
        		}	
        
        1 Reply Last reply Reply Quote 0
        • CynicC Offline
          Cynic
          last edited by

          What is the size of the image correct?

          I am not a wizard. I am just learning.

          1 Reply Last reply Reply Quote 0
          • C Offline
            Claudiop193w
            last edited by

            ciao anche a me non va ho fatto tutti i passaggi corretamente ma non funziona
            :frowning_face:

            1 Reply Last reply Reply Quote 0
            • A Offline
              Artech
              last edited by

              @kurtern84 first of all thanks for this great module it given to my mirror another aspect and i enjoy it. But i have a problem when i use it after 20 or 25seconds all my modules bug i don’t know why so if you or any other person can help me it will help me

              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 Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy