Read the statement by Michael Teeuw here.
Development Branch -- MMM-Unsplash
-
@sdetweil saw that. Love the fact that it worked just a few days ago. I have a funny feeling it’s between Unsplash API and new work in MM. I’m reading the API docs now. It’s a simple setup so hopefully a tweak shouldn’t be too tough.
-
@yk its not in MM… don’t you love coincidences??
the api just didn’t return the data it used to return -
@sdetweil hehe. Agreed. And now I have a decision to make. Hack it to work or rewrite. 😉
-
@yk well, how did the ‘custom’ image compare to one of the other choices? and can u force the other choice back to what custom was…
should be only a couple lines of code…
i checked my background image code modules and they are ok… (local files)
-
@sdetweil Fixed. It’s a change in the Unsplash API. obj.urls.custom is no longer an option returned in JSON. I changed “custom” to “raw” and it’s good.
Lovely.
-
… I should check mine and flip over to dev myself.
-
@bkeyport this problem had nothing to do with MM… just coincidence…(which I HATE!)
-
@sdetweil Yeah, I know, but it don’t hurt to check.
-
@yk said in Development Branch -- MMM-Unsplash:
obj.urls.custom
for all out there as stupid as I am… :-) its this which has to be modified from .custom to .raw (row 130 in my WallberryTheme.js file).
from:
p.url = photoData.urls.custom;to:
p.url = photoData.urls.raw;Cheers and thanks for the hack mates!
Patrick