nextcloud / unsplash Goto Github PK
View Code? Open in Web Editor NEW📸🔀☁️ Random Nextcloud log in background from Unsplash
Home Page: https://apps.nextcloud.com/apps/unsplash
License: GNU Affero General Public License v3.0
📸🔀☁️ Random Nextcloud log in background from Unsplash
Home Page: https://apps.nextcloud.com/apps/unsplash
License: GNU Affero General Public License v3.0
Allow images to also be supported from a directory selectable within the local Nextcloud instance. References issue #5
I experience a little delay when I load my cloud page until the image is shown. It would be great to pull the next image with the cronjob. Information if this image was then shown to the user could be kept in database. So that if a image was pre cached, it is no necessary to cache another one, until the previous was shown once.
Besides that ... I love your App (idea). It is simple and beautiful!
I would like the app to change the main color of the installation according to the image.
For getting the color may it would work if the image is resized to 1px/1px.
@newhinton, @marius-wieschollek can you please provide an updated version which supports Nextcloud 18.
May be u should give the possibility to modify the query API string, so that one can
fix the background for the daily pisture or query only pics from a special collection etc.
Thx in advance ... MiXiM
Hi all,
at the moment, NC-unsplah retrieves its background pictures from Nature category on unsplash.com
There are many other beautiful categories, such as Clouds, Landscape, Moutain, Sky.
It would be wonderful if the admin could input the categories in which he'd like to see the bg pictures pulled.
What do you think ?
Thanks
GLLM
The background does not change anymore. It always shows the same picture. Even if the URL is entered manually: https://source.unsplash.com/random/featured/?nature
I don't know if it is possible, but it would be nice, if unsplash could also change the background image of the newly added dashboard.
The app is really nice and pictures are good but for higher resolution screens a setting to allow increasing the resolution would be neat.
On HiDPI (4k+) screens the images look really blurred and unsharp. Of course this is also dependant on the source quality of the pic but in 2018 the images should be at least 1080p or above.
Ich habe die app aktiviert, aber der Hintergrund bleibt grau, es wird kein Bild angezeigt.
Woran kann das liegen?
It would be nice to have the option to only use this for the login screen. (Was it like that, earlier?)
Apart from the fact that showing a tiny stripe of an (albeit potentially beautiful ;)) image is kind of pointless, it also makes navigating the symbols in the header more difficult. Especially, bt not only, of the image contains a lot of white.
Thanks a lot for your work on this neat add-on! =)
Edit: somewhat related comment in the other issue:
Splash is not compatible with Nextcloud 20.
An own picture gallery would be very nice.
While working on my #17 pull request, i had the idea to add filter and other options to this app.
Possible features:
Random Images from local folder, #6
Other pages, #5
Filter to change appearance of the background image(Grayscale, Tint, Transparency, Overlapping Images, Gradients, etc.)
If we could apply all of those ideas to the default theming background-image, this app could easily be upgraded from "unsplash" to "advanced/extended Theming" (while keeping the original unsplash-functionality)
Is this something we should consider for this app?
I am in China. Our government have blocked unsplash.com .
I have some other random picture API that I can access, like https://api.ixiaowai.cn/gqapi/gqapi.php
https://img.xjh.me/random_img.php
What should I do to change the picture source.
any settings for disable texture in menu ?
Recently I got a bunch of pretty much non-nature pictures in the mix:
Can you reproduce this @newhinton @marius-wieschollek @Madh93? Can’t see any change on the API documentation at https://source.unsplash.com/
How can install that?
I want to add some new pictures, but I don't know how to do it .thank you
Hi,
Since I updated unsplash, I get my nextcloud screwed up by a PHP syntax error.
I assume that this is because I didn't match the minimal PHP dependencies. (NextCloud 13 still support php5.6, Unsplash1.1.3 still support NextCloud version 13, but needs min v7.0 of PHP).
Error
PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in /var/www/nextcloud/apps/unsplash/lib/Services/SettingsService.php on line 58
Versions
NextCloud
root@server:~# grep version /var/www/nextcloud/config/config.php
'version' => '13.0.8.2',
Unsplash
root@server:~# grep version /var/www/nextcloud/apps/unsplash/appinfo/info.xml
<?xml version="1.0"?>
<version>1.1.3</version>
<php min-version="7.0" />
<nextcloud min-version="13" max-version="16"/>
PHP
root@sevrer:~# php -v
PHP 5.6.30-0+deb8u1 (cli) (built: Feb 8 2017 08:50:21)
Following #14 I'm very happy to be able to use Unsplash again: thank you :)
But the setting is not that obvious to find for the average user. Some of them don't even know what it is about. Would it be possible to disable background image in the header by default? And/Or to add a setting in the admin section of Settings, so that we could apply this setting for all users?
Hi,
Your Unsplash pluggin is great, but from my point of you should be accesible for non technical users, letting them changing the API parameter from the web interface (f.eg:
Thanks in advance.
System details:
Why? Because there are great alternatives to Unsplash that are also freely available under a creative commons zero license. It adds other options + connects users with a lot of great Creative Commons content.
Pixabay - Creative Commons Zero with absolutely no credit needed to use the images.
Pexels is another Creative Commons Zero page with tons of great photos
Wikimedia Commons has a great picture of the day as CC0
Librestock
Negativespace with great CC0 photos
This issue is here to allow us to discuss the future of this app. Since there are things that changed regarding licensing of images from the unsplash-service, there may be features which may not be possible.
Everyone is invited to join this discussion and help us improve this app!
Currently, one idea is to move away from unsplash as an image-provider, to wikimedia-commons as an example. Suggestions are welcome!
Hi,
i have the issue that unsplash is only showing images when the themening APP is disabled.
When the themening is enabled, you can see the image for about a nanosecond appearing in the background if you refresh the loginpage repeating verry verry fast sor several times (like a nervour monkey)..... ;-)
An other NC 13 Server on the same OS base with a similar config hasn't this issue. But, the other server has been updated from NC12 ot NC13. Still workling great....
This is about the server:
Nexcloud Version: 13.0.1 stable
PHP Version: 7.0.28
Webserver: Apache 2.4.18
OS: Ubuntu 16.04 lts
Hope this is enough?
THX, tau'ri
I would love to know the url of the photo; display it in small print on the bottom, for example. It should probably be an option, as I'm sure there are many who wouldn't want that to show up on the fantastic login screen.
Hey, i got this error, when i tryng download and install this plugin.
cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
I like this simple but nice feature.
Perhaps a nice addition would be to customize the url.
Or maybe even better to use the api from unsplash for collections or searches
With some images the labels of apps in header are hard to read as the text is transparent a little. It might help to put some kind of darkish transparent-ish background to them if the header images are enabled.
I just added background: rgba(50, 50, 50, 0.7);
to the ul#appmenu
, which holds the buttons and it doesn't look too bad I think.
@jancborchardt Can you please provide an updated version of this app.
Same issue. Just stopped receiving pictures.
NC20.0.4
Worked perfectly until about three days ago.
Dj
After activating that app I realized that a grey screen is shown for a short moment before the downloaded picture is displayed. I think it might be better to show the previous picture before replacing it by a new one, to prevent grey screens.
Additionally the picture changes really on every page refresh/reload. This is a little bit confusing/disturbing e.g. when you have the Two Factor U2F app activated and a different background picture is display right after you've entered your credentials and waiting for the confirmation of the U2F token. It would be nice if a background picture is cached at least as long as it takes to finish o single login process.
i noticed that if i access a password protected nextcloud link the acecsso page shows the nextcloud base background and does not use your random backgrounds, is the fact wanted or to be implemented splash in the url with password?
as in the attached photo I have a fixed background not your random ones
Hey all,
The bug #40 showed me more images instead of the normal nature photos. My request is to create a configuration option to define more categories for Unsplash.
I like the replacement of:
"...
There is a line:
background-image : url('https://source.unsplash.com/random/featured/?nature') !important;
you can change the source of the url there:
background-image : url('https://source.unsplash.com/1920x1080/ ') !important;
.."
My personal voting for more configuration options is: yes, do it!
Hello jancborchardt ,
Can you add a option in nextcloud parameter for choose the key word to use, please ?
example: car, sun...
Not only for nature
Thanks,
When pinning the Nextcould website as progressive web app onto your homescreen in android using firefox, the unsplash image opens as fullscreen image.
Does not happen with Chrome at all or regular Webpages in Firefox.
Android 8.1.0
Firefox 64.0.1
Nextcloud 14.0.4
Unsplash 1.1.3
Repro Steps:
Open Firefox and navigate to your Nextcloud page.
Press the "house with plus" button next to the URL and add the website as "app" to your homescreen.
Go to your homescreen and open the new "app".
You should now see an Unsplash image everytime your URL/image changes.
Example Video:
(first webpage, then PWA)
https://www.youtube.com/watch?v=YQcC8nNGBAY
the search icon of the new unified search in nc 20 got no shadow in (un)splash
if there is a mostly white image, the search icon disappears
thanks for the great work so far :)
It says: We couldn't find that picture in big letters
Thanks for this Nextcloud app, it is great! I would like to propose enhancement to use weekly or daily images instead of random to get more smooth experience.
I updated NC today to 16.0.7 and noticed the unsplash images are no longer displaying.
It seems it's been quiet here for a while, do we need to provide a key per instance or something?
Thanks for a great plugin!
Happy New Years,
OC
As of updating to the newest stable Nextcloud Release (13.0.2), i encountered a problem with the menubar at the top of the cloud UI. It seems as if the Plugin also loads an image for this menubar, resulting in a background image rather than the standart background color chosen.
For every new Page or reload, the image also get's refreshed with a new image.
Really appreciate the plug-in!
Edit - I now saw it is officially proposed like that (my bad). Would wish for the possibility to disable the image in the header.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.