Navigation

    MagicMirror Forum

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

    SOLVED MMM-Cocktails - Images now showing up?

    Troubleshooting
    3
    7
    1522
    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.
    • H
      HYKGOML last edited by broberg

      Re: MMM-Cocktails

      Installed and got the feeds (text) woriking. What does not work is the images.
      Using Shift-Alt-I I see the module is looking for an image file that is not there.
      Example:
      Broken (as not displayed in the Mirror)
      http://https//www.thecocktaildb.com/images/media/drink/0fbo2t1485620752.jpg
      So it seems to be getting redirected to the https site, but has already padded the URL with HTTP…

      Correct URL:
      https://www.thecocktaildb.com/images/media/drink/0fbo2t1485620752.jpg

      The website seems to have updated their API to support HTTPS :
      https://www.thecocktaildb.com/api.php
      IDK, I assume because of google? ( https://www.theverge.com/2018/2/8/16991254/chrome-not-secure-marked-http-encryption-ssl )

      So I think I get the issue, I just don’t know how to fix…

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

        @hykgoml

        I will take a look at this tonight. Sorry for the delay. Work and grandchildren keeping me busy.

        1 Reply Last reply Reply Quote 0
        • H
          HYKGOML last edited by

          No apologies needed at ALL. Those things always are more important.
          … and don’t skin me over the fact I also put in a defect on Git… Was not sure best place to post this.

          I look forward to to the process as I have theories on whats wrong and what the fix might be. But I gave it a go did not have success.

          Now go back to having a life!

          Mykle1 cowboysdude 2 Replies Last reply Reply Quote 1
          • Mykle1
            Mykle1 Project Sponsor Module Developer @HYKGOML last edited by Mykle1

            @hykgoml

            Thanks for bringing that to my attention. I don’t always check for issues on the hub. Evidently, the api changed a bit but the fix was simple. See line 65 and 66 of the MMM-Cocktails.js file if you’re curious. I’ve had it running for an hour now without incident.

            I’ll upload the update to the hub. You can do a git pull in the MMM-Cocktails directory for the update. Let me know how you make out.

            EDIT:

            Updated on github

            H 1 Reply Last reply Reply Quote 1
            • cowboysdude
              cowboysdude Project Sponsor Module Developer @HYKGOML last edited by

              @hykgoml Generally fixes are simple for the developer so if you have a problem just let them know 😉 LOTS easier then trying to figure it out…you may really break something in the process 😉

              1 Reply Last reply Reply Quote 0
              • H
                HYKGOML @Mykle1 last edited by

                @mykle1
                (reads line 65-66)
                Ohhh ok I see what you did… Cool thanks! (not a java programmer) so the syntax is a bit new for me.

                Thanks again!

                TLDR; Yep works great!

                Cheers!

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

                  @hykgoml

                  Great!

                  1 Reply Last reply Reply Quote 1
                  • 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