unsplash icon indicating copy to clipboard operation
unsplash copied to clipboard

URL to photo

Open starlyth opened this issue 7 years ago β€’ 8 comments

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.

starlyth avatar Feb 27 '18 04:02 starlyth

Ditto. Came across a few neat ones that would be fun to know more one.

ToeJet avatar Mar 13 '18 12:03 ToeJet

Yep, that would be nice. Contributions for this are very welcome. :)

jancborchardt avatar Mar 13 '18 16:03 jancborchardt

Hi folks, the url is coded in the app... https://source.unsplash.com/random/featured/?nature

You can change /?whatever to any search type of unsplash.com search field. The API can be monitored at https://status.unsplash.com/ --> Image Service --> Rendering

tau-ri avatar Mar 24 '18 22:03 tau-ri

@tau-ri yes – but people are asking about the actual URL of the photo which is randomly put out, which is a different one every time. :) And display that along with the image.

jancborchardt avatar Mar 27 '18 20:03 jancborchardt

I'm working on it and found a solution with dynamic css (execute php inside a css file). The problem ist, that Nextcloud does not support these kind of files. Has somebody a solution how to implement this file

ticevi avatar Apr 17 '18 16:04 ticevi

As a saw in #17 there is work all ready done to provide css trough php. Now I'm getting the actual url from the header redirect. When an other url is set there could be no information

ticevi avatar Apr 18 '18 15:04 ticevi

maybe you could also gather exif-metadata from the image, and display the location or content of the image, windows10-loginscreen-stlye

newhinton avatar Apr 19 '18 13:04 newhinton

I did not check, but i assume that unsplash removes all exif data when converting the images. But the full api give a lot of extra information. You can get author information, description, image color and the location of the image from the api. For some reason you can't get the title. I added some information in the login page and in the notification menu and if you click on it a new tab is opened with the related unsplash page. grafik

marius-wieschollek avatar Sep 08 '18 18:09 marius-wieschollek