MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    Displaying a Black and White .png Image

    Development
    2
    3
    2639
    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.
    • L
      LG last edited by

      Hello Everyone,
      I am new to the magic mirror and just got it running on the monitor I am using. I would like to display a small .png image if possible, wondering if anyone knows how to go about this.
      Thank!

      1 Reply Last reply Reply Quote 0
      • MichMich
        MichMich Admin last edited by

        Not sure if it works, but you could try using the helloworld module and simply add an HTML tag to display the image:

        {
                module: 'helloworld',
                position: 'bottom_bar', // This can be any of the regions.
                config: {
                    text: '<img src="http://url.to.you/image.png" />'
                }
        }
        

        A cleaner approach would be building an image module. 🙂

        1 Reply Last reply Reply Quote 0
        • L
          LG last edited by

          Thanks! I’ll definitely give this a try.

          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