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

Feature Request - Support for Screens > 1080p #90

Closed GVLLIFESTYLE closed 2 years ago

GVLLIFESTYLE commented 3 years ago

It would be nize if the app has full scalable pictures, that depending on which screensize the client has, the screen will be filled beautifully. Especially at 4k Screens. Alternative it would be nice if the admin can select the resolution of the pictures in the settings.

newhinton commented 3 years ago

This PR https://github.com/nextcloud/unsplash/pull/44 could be easily adapted to provide images in 4K, but it requires review. But after the PR is merged, adding a new Provider is a matter of minutes.

For now, there is no eta on when it gets done, sadly.

GVLLIFESTYLE commented 3 years ago

OK, thanks for the statusupdate. I would be happy about such a feature. Moreover the pictures should be in the new picture formats like WebP and AVIF for even faster loading.

crasherwosa commented 2 years ago

I have also installed the Splash app. However, I also find it a pity that the images are loaded unsharp.

Especially in this day and age with larger screen resolutions, the images should be loaded in a larger format.

Optinal it would also be an added value that it can each set the format size via a Einstellugnsmöglichkeit, in the app.

Is there anything planned in the meantime? Or can I manually already set something like that? If so, how?

newhinton commented 2 years ago

@crasherwosa You can always edit the unsplash url manually. You need to edit https://github.com/nextcloud/unsplash/blob/134ccfeafe6b192529482449cc0cf05aa60f3feb/css/login.css#L4

this file for the login, there you can choose what to display. If you find the appropriate url for the unsplash-api you can control it by yourself

crasherwosa commented 2 years ago

Thank you for your feedback. I do not host my Nextcloud myself and do not have access via FTP/FTPS to the files. I therefore only have access to the web view. Can I therefore also make the settings/link change? And how?

GVLLIFESTYLE commented 2 years ago

If you use that url in the app: https://source.unsplash.com/featured/3840x2160?nature,nature ==> It will be fixed ;) I suggest to implement a drop down or text input field and make the resolution a chooseable as you can use nearly any resolution at the api ;)

for instance: https://source.unsplash.com/featured/WIDTHxHEIGHT?nature,nature

Best would be if the app can dedect the screen resolution at the browser and use this as parameter for the api automatically ;) So that at small devices it will load little pics and on larger screens larger pics.

crasherwosa commented 2 years ago

If you use that url in the app:

But where can I store this link in the app? I have but no possibilities to change the link in the app? The only thing I can do under Settings/Splash is this?:

Bildschirmfoto 2022-03-09 um 12 22 03
GVLLIFESTYLE commented 2 years ago

This is currently not possible. But I hope someone will implement it :) I just changed my css file at my datacenter.

crasherwosa commented 2 years ago

Ahh okay, I thought that was already possible now and I didn't see it.

That would be very very good indeed. Let's hope for the best :).

newhinton commented 2 years ago

@MrLoverLoverMMMM @crasherwosa There is already a pullrequest that implements more provider, but it needs a technical review. If you are up for it, you could take a look!

MarcoLeongDev commented 2 years ago

For those who are finding the css files, they are login.css and dashboard.css at directory /var/www/html/custom_apps/unsplash/css

crasherwosa commented 2 years ago

@MrLoverLoverMMMM @crasherwosa There is already a pullrequest that implements more provider, but it needs a technical review. If you are up for it, you could take a look!

I would love to do it, but unfortunately have no experience at all how to do something like this. Was hoping for someone else :)

For those who are finding the css files, they are login.css and dashboard.css at directory /var/www/html/custom_apps/unsplash/css

I don't have FTP access to my Nextcloud.

newhinton commented 2 years ago

I have updated the dev-branch. It contains my current iteration of more customizability and more image-provider. Testing is higly appreciated!

newhinton commented 2 years ago

Moved. See https://github.com/nextcloud/unsplash/discussions/94