Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0e4b589
updating to new url and options. added notification
skuethe Oct 3, 2020
b746e5b
fixing stuff. adding hidden start option
skuethe Oct 3, 2020
13b8e63
added possibility to pause / resume the image loading and show status…
skuethe Oct 7, 2020
3f830b7
fixing bug with css class names coliding with MMM-pages
skuethe Oct 7, 2020
a857819
first commit for nextcloud. some problems with cors
skuethe Oct 8, 2020
d596444
major changes for nextcloud and localfolder integrations
skuethe Oct 10, 2020
3cbee73
Merge pull request #1 from skuethe/feature/nextcloud-integration
skuethe Oct 10, 2020
82b42de
added "startPaused" option
skuethe Oct 12, 2020
081c338
added option to "go back" an image if NOT in random mode and not show…
skuethe Oct 12, 2020
1f01c59
dont show the same picture if in random mode
skuethe Oct 12, 2020
4ea7aa4
updated README to reflect latest changes
skuethe Oct 12, 2020
9efad4f
fixing some MD
skuethe Oct 12, 2020
bc40f71
reworking animations of statusIcon
skuethe Oct 12, 2020
926fec0
renamed global css property; reduced icon flashing from 4 to 2 seconds
skuethe Oct 18, 2020
ee97f25
add recursive search for localdirectory
Feb 15, 2022
b33e12e
Merge pull request #6 from bacherd/master
skuethe Feb 16, 2022
04f104a
prepend fullImagePath with nextcloud path
The0frastus Feb 20, 2022
23fa73c
Merge pull request #7 from The0frastus/the0frastus/fix-image-path
skuethe Feb 20, 2022
e63d1ea
Non-substantive changes per recommendations (#14)
dathbe Mar 29, 2024
37fe8b6
fix: migrate express route parameter to v5
skuethe Jul 5, 2025
4035556
Merge pull request #16 from skuethe/fix/adapt-to-express-v5
skuethe Jul 5, 2025
7bceb3a
fix: url-encode image paths
skuethe Jul 16, 2025
d8c034a
chore: bump version
skuethe Jul 16, 2025
bcba1a3
Merge pull request #18 from skuethe/fix/localdirectory
skuethe Jul 16, 2025
7c7f003
add regex exclude to localdirectory
henrynvn09 Jul 18, 2025
ff87f77
reindent
henrynvn09 Jul 18, 2025
8799fc1
Merge pull request #19 from henrynvn09/master
skuethe Jul 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
package-lock.json
66 changes: 66 additions & 0 deletions MMM-RandomPhoto.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
:root {
--randomphoto-blur-value: 0px;
}

#randomPhoto img {
opacity: 0;
position: absolute;;
top: 0;
left: 0;
height: 100%;
width: 100%;
object-fit: cover;
}

#randomPhoto img.grayscale {
filter: grayscale(100%);
}

#randomPhoto img.blur {
filter: blur(var(--randomphoto-blur-value));
}

#randomPhotoIcon {
position: absolute;
}

#randomPhotoIcon.rpitop {
top: 5px;
}

#randomPhotoIcon.rpibottom {
bottom: 5px;
}

#randomPhotoIcon.rpiright {
right: 10px;
}

#randomPhotoIcon.rpileft {
left: 10px;
}

#randomPhotoIcon i {
opacity: 1;
}

#randomPhotoIcon i.rpihidden {
opacity: 0;
}

@keyframes fadeOut {
0% { opacity: 1; }
100% { opacity: 0; }
}

@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}

@keyframes fadeInAndOut {
0% { opacity: 0; }
50% { opacity: 1; }
100% { opacity: 0; }
}

Loading