• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.0k 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 Feb 8, 2019, 12:50 PM

    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 Feb 8, 2019, 1:38 PM Reply Quote 0
    • K Offline
      kurtern84 Project Sponsor @santiago5
      last edited by Feb 8, 2019, 1:38 PM

      @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
      • C Offline
        Cynic
        last edited by Sep 2, 2019, 6:58 PM

        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 Sep 12, 2019, 6:00 PM

          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 Dec 23, 2019, 3:51 PM

            @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