Romain
b15b10fbb9
fix(metadata): support the ContentCreateDate field for videos
6 years ago
Romain
73672ce4dd
refactor(test): replace var with const in tests files when appropriate
6 years ago
Romain
fb4c4fb89f
test(all): add unit tests for Album and Problem
6 years ago
Romain
0adef54dc8
feat(core): add support for static and animated GIFs
...
GraphicsMagick can’t process animated GIFs well unless all frames are coalesced, which creates very large files.
This means there is a new dependency on Gifsicle which is very good at working with animated GIFs.
- Thumbnails are still processed through GraphicsMagick (more options, e.g. centre-crop)
- Large previews of animated GIFs go through Gifsicle
The startup checks are updated to check for the Gifsicle binary.
Fixes #96 .
6 years ago
Romain
e1517d2fbd
feat(core): when building thumbnails, fallback to JPG if the source is not a browser-friendly format
...
If the source is browser-friendly (jpg, jpeg, png) then keep the exact original extension.
6 years ago
klemens
424d2c8b8b
spelling fixes
7 years ago
Romain
03c3b38e82
fix(model): ignore the EXIF date if it’s not valid e.g. 0000:00:00
...
Closes #94
7 years ago
Romain
3152361e65
Fix #83 : handle IPTC keywords returned as string or array
7 years ago
Romain
b92724472e
Fix #71 : read both Quicktime CreationDate and CreateDate
7 years ago
Romain
0b27d37881
Read metadata from Picasa.ini if present
7 years ago
Romain
3e64d2ab38
Create a Metadata model attached to input files
...
- for easier unit testing
- to enable input filtering (e.g. only include photos with this keyword)
7 years ago
Romain
d24c5110cc
Fix #70 : files in the root of the source folder get added to the root gallery (index.html)
...
Before, they were added to an album called “.” which didn’t look good,
and the corresponding “.html” file (no base name) caused issues on web servers
7 years ago
Romain
dc40fbac09
Fix inferring data from the filename: was getting confused if the folder contained digits
7 years ago
Romain
3531f1e533
Try to infer dates from the filename if there is no "date" metadata
8 years ago
Romain
a7ad8dc9fc
Fix reading the original creation date of QuickTime and H264 movies
8 years ago
Romain
39ee2adf05
Read XMP ratings
8 years ago
Romain
449ee0b180
Read the caption from all standard EXIF/IPTC/XMP tags (issue #24 )
8 years ago
Romain
7e73e6a10b
Refactor album mapping code to be much simpler based on (media) => string
8 years ago
Romain
59b9bdbbd2
Use <standard> for code style, which removed lots of unused variables/requires
8 years ago
Romain
e719bf15b1
Single source of truth for input/outputs + view model for display ( #58 )
8 years ago
Romain
d3781b8fcf
Fix parsing of MIME Type into Media type (image/video)
...
This fixes download links, and being able to right-click on a video and save-as
8 years ago
Romain
8dccb88f25
Use [exiftool-json-db] to maintain the JSON database of media files
8 years ago
Romain
e36464a76a
New --albums-output-folder option to write all albums to a subfolder (cleaner output)
...
The main changes are
- this introduces relative paths, since some HTML files have to go ".." to get to public/media
- it also introduces the difference between album.path (OS dependent) and album.url (forward slashes)
8 years ago
Romain
e930af7f49
Add GIF support, fixes #22 .
...
One major change here is that thumbnails will always be generated as ".jpg".
This is potentially a breaking change, in the sense that all "png" or "jpeg" thumbnails
would be to re-calculated and re-uploaded.
8 years ago
Romain
4209466c14
More unit tests for the Album model (tests split into 2 files for legibility)
8 years ago
Romain
6772e9c9d9
Fix final options for nested albums, not being passed recursively
8 years ago
Romain
f235675f86
Don't concatenate the root album name to be 100% compatible with existing version for flat albums
8 years ago
Romain
0208babae1
Pick 10 previews per album, to make the mosaic theme work
8 years ago
Romain
b10e7ca6c9
Unit tests for album constructor + sorting
8 years ago
Romain
93ffff1e90
Move album.previews() test one level up
8 years ago
Romain
fd9bf181fd
Extract model from website generation
8 years ago