Comments (6)
Hi! Sorry for bumping a closed ticket. I do enjoy the "Set as album cover photo" function, so thanks for implementing it. On the other hand, maybe one day this feature could be extended a bit? For example, for the following folder structure:
Folder A
├── Folder B
│ ├── 1.jpg
│ └── 2.jpg
└── Folder C
├── 3.jpg
└── 4.jpg
We can now easily change the cover photos of Folder B and Folder C, but not that of Folder A because Folder A doesn't have any photos directly under it.
Furthermore, if I change the cover photo of Folder B to 2.jpg (from 1.jpg by default), Folder A would still use 1.jpg (first photo in the first subfolder) as the cover photo. It would be nice if Folder A at least follows my choice of cover photo for Folder B.
from photoview.
Hi @FelixUster
I think this is would be a nice feature.
It could be implemented in a similar way as how Google Photos does it. Clicking a button labeled "Use as album cover".
If you have very little experience with Javascript and Go, then I think it would be quite ambitious to implement this.
But if you want to give it a shot nevertheless, here are the basic steps:
- Add a database migration where a new column is added for a potential cover image, referencing the media_id of the selected cover image.
- Add and implement a graphql mutation to change the cover of an album.
- Update the album thumbnail resolver to use the selected album cover if set, otherwise use the current implementation to dynamically select the first one.
- Integrate the graphql mutation into the web interface.
from photoview.
Implemented in #526
from photoview.
This would be an amazing feature!! ❤️ But Photoview is already a very nice job! Thanks!!
from photoview.
+1 controlling the album cover of a parent album would be great.
from photoview.
+1 for the feature to set cover page of albums that contain no photo but only sub-albums.
from photoview.
Related Issues (20)
- [error] failed to initialize database, got error Error 1045: Access denied for user 'photoview' HOT 9
- large folder no album HOT 3
- Provide a docker container for development, or at least update doc HOT 5
- Something went wrong Server error: Error 1390: Prepared statement contains too many placeholders at (myFaceGroups) HOT 1
- MapLibre instead of MapBox HOT 3
- when installing photoview i get error HOT 3
- add comment system HOT 1
- Add cross compile support for arm64-amd64 HOT 2
- Stand alone program HOT 1
- Weird behaviour when inputing passwords with a trailing backslash HOT 1
- Show GPS metadata for video files HOT 1
- Fix pipelines HOT 2
- Folder view request HOT 2
- create user add photo path failure HOT 1
- Explicitly providing alternative versions of a file HOT 1
- Map Default Location HOT 1
- Allow setting GPS coordinates to pictures HOT 2
- TypeError: "t" is undefined HOT 10
- Exif data does not get updated? HOT 1
- Damaged image in folder break the scanning in that folder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photoview.