nextcloud / unsplash

πŸ“ΈπŸ”€β˜οΈ Random Nextcloud log in background from Unsplash
https://apps.nextcloud.com/apps/unsplash
GNU Affero General Public License v3.0
92 stars 23 forks source link

"We couldn't find this image" - background image is replaced by 404 image #134

Open qudiqudi opened 6 months ago

qudiqudi commented 6 months ago

use GitHub reactions πŸ‘ to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug: Images are not loaded, a 404 error page is shown instead in the background. background image get's replaced by this 404 error page:

https://images.unsplash.com/source-404?fit=crop&fm=jpg&h=800&q=60&w=1200

Screenshots: grafik

Server:

Additional Information: I can reach unsplash.com just fine from my network, so I doubt it is a dns or geo-block issue (location: Germany)

qudiqudi commented 6 months ago

Could be some sort of api/token limit...?

timonsky commented 3 months ago

might be some problem with your search terms, eg. returning empty result set. see #125 and #128

qudiqudi commented 3 months ago

I've only ever used the defaults, so I doubt that's the problem here. Looking at the issue tracker growing, this git might gonna be stale soon. I've removed this app from my instance, as I don't want to have unmaintained apps running on my personal server. Leaving this open though.

newhinton commented 1 month ago

It is also possible that the public unsplash api finally stopped working. The new authenticated api is working already, but you'll need a token for it. I need to update the how-to for that. Also release the current master.

cscgeiche commented 1 month ago

The url for the api seems to have changed. There seems to be a new api for getting a random image but you need a api-token to access it. Maybe add a configuration-option for this and let users register at unsplash. Dokumentation (Random Image): https://unsplash.com/documentation#get-a-random-photo Dokumentation: https://unsplash.com/documentation

newhinton commented 1 week ago

Can you check if this is present in 3.0.0 with the new authenticated api?

It is very likely that the original api was finally closed.

cscgeiche commented 4 days ago

With the new API, it seems to work again. I would recommend removing the unauthenticated API from the dropdown.