Skip to content

Commit

Permalink
Merge pull request #17 from SmilyOrg/openlayers
Browse files Browse the repository at this point in the history
Replace OpenSeadragon with OpenLayers
  • Loading branch information
SmilyOrg authored Sep 4, 2022
2 parents 6f49f3d + cd749ae commit 8fe1742
Show file tree
Hide file tree
Showing 8 changed files with 733 additions and 304 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ gallery software.
### Features

* **Seamless zoomable interface**. Thanks to tiled image loading supported by
[OpenSeadragon] and the API implementing tile rendering, you can switch between
[OpenLayers] and the API implementing tile rendering, you can switch between
levels of detail seamlessly without loading a special detailed or
fullscreen view.

Expand Down Expand Up @@ -134,7 +134,8 @@ over time as IDs can change.
fast single-file database/cache
* [Vue 3] - frontend framework
* [BalmUI] - Material UI components
* [OpenSeadragon] - in-browser tiled image rendering
* [OpenLayers] - in-browser tiled image rendering
* [OpenSeadragon] (honorary mention) - tiled image rendering library used previously
* [+ more Go libraries](go.mod)
* [+ more npm libraries](ui/package.json)

Expand Down Expand Up @@ -370,6 +371,7 @@ Distributed under the MIT License. See `LICENSE` for more information.
[godirwalk]: https://github.com/karrick/godirwalk
[prominent color]: https://github.com/EdlinOrg/prominentcolor

[OpenLayers]: https://openlayers.org/
[OpenSeadragon]: https://openseadragon.github.io/
[Node.js]: https://nodejs.org/
[Vue 3]: https://v3.vuejs.org/
Expand Down
3 changes: 2 additions & 1 deletion internal/image/exiftool-mostlygeek.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ func (decoder *ExifToolMostlyGeekLoader) DecodeInfo(path string, info *Info) err
if strings.Contains(name, "Date") || strings.Contains(name, "Time") {
if info.DateTime.IsZero() {
info.DateTime, _, _, _ = parseDateTime(value)
} else {
} else if name != "FileModifyDate" && name != "FileCreateDate" {
// Prefer time with timezone if available
t, hasTimezone, _, _ := parseDateTime(value)
if hasTimezone && info.DateTime.Location() == time.UTC {
info.DateTime = t
Expand Down
Loading

0 comments on commit 8fe1742

Please sign in to comment.