From 6e92c7212e2f438740741dccc6008e562006f759 Mon Sep 17 00:00:00 2001 From: "Jan C. Borchardt" Date: Wed, 19 Aug 2020 13:45:57 +0200 Subject: [PATCH] Dashboard: Finish image list and attribution Signed-off-by: Jan C. Borchardt --- .../lib/Service/BackgroundService.php | 67 +++++++++++++------ 1 file changed, 45 insertions(+), 22 deletions(-) diff --git a/apps/dashboard/lib/Service/BackgroundService.php b/apps/dashboard/lib/Service/BackgroundService.php index ab5f58b6cb7..7fbe1843e71 100644 --- a/apps/dashboard/lib/Service/BackgroundService.php +++ b/apps/dashboard/lib/Service/BackgroundService.php @@ -37,45 +37,68 @@ class BackgroundService { public const SHIPPED_BACKGROUNDS = [ 'anatoly-mikhaltsov-butterfly-wing-scale.jpg' => [ - 'attribution' => 'Butterfly', - 'attribution_url' => 'https://', + 'attribution' => 'Butterfly wing scale (Anatoly Mikhaltsov, CC BY-SA)', + 'attribution_url' => 'https://commons.wikimedia.org/wiki/File:%D0%A7%D0%B5%D1%88%D1%83%D0%B9%D0%BA%D0%B8_%D0%BA%D1%80%D1%8B%D0%BB%D0%B0_%D0%B1%D0%B0%D0%B1%D0%BE%D1%87%D0%BA%D0%B8.jpg', ], 'bernie-cetonia-aurata-take-off-composition.jpg' => [ - 'attribution' => '', - 'attribution_url' => '', + 'attribution' => 'Cetonia aurata take off composition (Bernie, Public Domain)', + 'attribution_url' => 'https://commons.wikimedia.org/wiki/File:Cetonia_aurata_take_off_composition_05172009.jpg', 'theming' => self::THEMING_MODE_DARK, ], 'dejan-krsmanovic-ribbed-red-metal.jpg' => [ - 'attribution' => '', - 'attribution_url' => '', + 'attribution' => 'Ribbed red metal (Dejan Krsmanovic, CC BY)', + 'attribution_url' => 'https://www.flickr.com/photos/dejankrsmanovic/42971456774/', ], 'eduardo-neves-pedra-azul.jpg' => [ - 'attribution' => '', - 'attribution_url' => '', + 'attribution' => 'Pedra azul milky way (Eduardo Neves, CC BY-SA)', + 'attribution_url' => 'https://commons.wikimedia.org/wiki/File:Pedra_Azul_Milky_Way.jpg', ], 'european-space-agency-barents-bloom.jpg' => [ - 'attribution' => '', - 'attribution_url' => '', - ], - 'european-space-agency-namib-desert.jpg' => [ - 'attribution' => '', - 'attribution_url' => '', + 'attribution' => 'Barents bloom (European Space Agency, CC BY-SA)', + 'attribution_url' => 'https://www.esa.int/ESA_Multimedia/Images/2016/08/Barents_bloom', ], 'hannes-fritz-flippity-floppity.jpg' => [ - 'attribution' => '', - 'attribution_url' => '', + 'attribution' => 'Flippity floppity (Hannes Fritz, CC BY-SA)', + 'attribution_url' => 'http://hannes.photos/flippity-floppity', ], 'hannes-fritz-roulette.jpg' => [ - 'attribution' => '', - 'attribution_url' => '', + 'attribution' => 'Roulette (Hannes Fritz, CC BY-SA)', + 'attribution_url' => 'http://hannes.photos/roulette', ], 'hannes-fritz-sea-spray.jpg' => [ - 'attribution' => '', - 'attribution_url' => '', + 'attribution' => 'Sea spray (Hannes Fritz, CC BY-SA)', + 'attribution_url' => 'http://hannes.photos/sea-spray', ], 'kamil-porembinski-clouds.jpg' => [ - 'attribution' => '', - 'attribution_url' => '', + 'attribution' => 'Clouds (Kamil Porembiński, CC BY-SA)', + 'attribution_url' => 'https://www.flickr.com/photos/paszczak000/8715851521/', + ], + 'bernard-spragg-new-zealand-fern.jpg' => [ + 'attribution' => 'New zealand fern (Bernard Spragg, CC0)', + 'attribution_url' => 'https://commons.wikimedia.org/wiki/File:NZ_Fern.(Blechnum_chambersii)_(11263534936).jpg', + ], + 'rawpixel-pink-tapioca-bubbles.jpg' => [ + 'attribution' => 'Pink tapioca bubbles (Rawpixel, CC BY)', + 'attribution_url' => 'https://www.flickr.com/photos/byrawpixel/27665140298/in/photostream/', + 'theming' => self::THEMING_MODE_DARK, + ], + 'nasa-waxing-crescent-moon.jpg' => [ + 'attribution' => 'Waxing crescent moon (NASA, Public Domain)', + 'attribution_url' => 'https://www.nasa.gov/image-feature/a-waxing-crescent-moon', + ], + 'tommy-chau-already.jpg' => [ + 'attribution' => 'Cityscape (Tommy Chau, CC BY)', + 'attribution_url' => 'https://www.flickr.com/photos/90975693@N05/16910999368', + ], + 'tommy-chau-lion-rock-hill.jpg' => [ + 'attribution' => 'Lion rock hill (Tommy Chau, CC BY)', + 'attribution_url' => 'https://www.flickr.com/photos/90975693@N05/17136440246', + 'theming' => self::THEMING_MODE_DARK, + ], + 'lali-masriera-yellow-bricks.jpg' => [ + 'attribution' => 'Yellow bricks (Lali Masriera, CC BY)', + 'attribution_url' => 'https://www.flickr.com/photos/visualpanic/3982464447', + 'theming' => self::THEMING_MODE_DARK, ] ]; /** -- 2.39.5