-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background Image not working #8
Comments
It worked on release 1.1.0 - 2019-1-21 |
Interesting, are you getting any errors? |
I am also having the same issue. I am not seeing any errors. It says "loading background photo" when I start the MM through pm2 and npm start but when I start it with npm start dev it works fine. |
hmm, now that is a curious bug! |
tried |
well, at least that's consistent :) thank you for trying. |
i think it has something to do with the wallberry theme collection. i switched the collection and it works fine. |
SWEET! can you tell me what collections you had before and after? |
i used collection 2589108 before and now I am using 217461 |
If you switch back to 2589108 can you get it to fail again? |
yes when I switch back it fails to load the background photo |
awesome! do you mind posting your config (minus api keys) so I can see what options you have set? Thanks for your detective work! |
|
strange.. mine too was all black after the git pull of the latest code. I tried pm2 to restart the MagicMirror and it didnt help. I had to do a full reboot for it to display the images again. |
After I changed my collection and restartet the Mirror it worked |
@tintinmaster I think your API error for no photos found might be due to the fact that the collection 2589108 doesn't have any landscape photos, so Unsplash can't find any relevant photos in it to display I'm still baffled why sometimes certain collections cause the black screen for some people, and why rebooting sometimes works. Thanks for the info, I will keep investigating |
if anyone wants to try out the latest on the dev branch, it contains some extra error handling that might help diagnose the issue |
Access to Image at 'https://images.unsplash.com/photo-1534196511436-921a4e99f297?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1016&h=1856&fit=crop&ixid=eyJhcHBfaWQiOjQ1MjEwfQ' from origin 'http://0.0.0.0:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://0.0.0.0:8080' is therefore not allowed access. |
I am not getting any error messages. It is still not working like it did previously. |
Mine was from the Dev Toolbar. If you VNC into your Raspberry Pi and press the ALT key. There are menus where you can enable the Dev Toolbar and it will give some messages from the MM |
Thanks. Yes. I am getting the same error. |
Aha, the plot thickens :D |
So I went into the developer tool > application > cookies and cleared them all. And it worked but when I rebooted it went back to the black screen. |
thanks for testing @joberbr! |
Yes. That worked for me also. Thanks so much for your persistence. |
Yes, thanks, that is also working for me too. Strange |
yay, that was definitely a bizarre edge case. Thanks, everyone for testing :) |
This is a very strange problem xD |
Thanks 👍 |
Since the latest commit, my image just isn't loading. I have a black background with the text:
"Loading background photo...".
The strange thing I realized is, that my pi does not send a query to unsplash.(Checked with Pi-Hole, unsplash is whitelisted)
But when I open the Magic Mirror² on my other pc, the background image is loading.
Before my pull it worked just fine
The text was updated successfully, but these errors were encountered: