Compare commits

...

2 commits
1.1.1 ... main

Author SHA1 Message Date
Luca Orio
455416d420 add lightgallery license 2023-01-01 16:49:20 -05:00
Luca Orio
39b26b936d improve readme 2022-12-23 01:27:47 -05:00
3 changed files with 7 additions and 4 deletions

View file

@ -15,7 +15,7 @@ Obsidian Image Gallery is a zero setup masonry image gallery for [Obsidian](http
## Requirements
- [Obsidian](https://obsidian.md/) `(ver >= 0.14.6)`
- [Obsidian](https://obsidian.md/) `(ver >= 1.1.8)`
- A folder(s) of local images located somewhere in your vault
## Installation
@ -48,6 +48,10 @@ In *[Live Preview](https://help.obsidian.md/Live+preview+update)* mode, the gall
![Obsidian Image Gallery - Animation](assets/obsidian-image-gallery.gif)
`1.1.1` introduces a lightbox view accessible by clicking on any image part of the gallery. Then, if you need to, click the button on the top right to open the original image in a new tab.
![Obsidian Image Gallery - Animation](assets/obsidian-image-gallery-lightbox.jpg)
## Settings
Settings can be customized in any order, in `yaml` syntax. Optional properties default to the values outlined in the tables below:
@ -88,7 +92,7 @@ An additional note about the orientation of the masonry vs. the distribution of
## Changelog
`1.1.1`
- Fix bug for the "open image in new tab" feature
- fixed bug for the "open image in new tab" feature
`1.1.0`
- fixed alphabetical sorting

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View file

@ -14,8 +14,7 @@ const lightbox = (gallery: HTMLElement, imagesList: {[key: string]: any}, app: A
thumbnail: true,
loop: false,
mode: 'lg-fade',
// todo: replace with GPLv3 compatible license whenever available
licenseKey: '1234-1234-123-1234',
licenseKey: '622E672F-760D49DC-980EF90F-B7A9DCB0',
})
// if we are on mobile, make sure to remove unnecessary controls