Compare commits

..

No commits in common. "main" and "1.1.1" have entirely different histories.
main ... 1.1.1

3 changed files with 4 additions and 7 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 >= 1.1.8)`
- [Obsidian](https://obsidian.md/) `(ver >= 0.14.6)`
- A folder(s) of local images located somewhere in your vault
## Installation
@ -48,10 +48,6 @@ 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:
@ -92,7 +88,7 @@ An additional note about the orientation of the masonry vs. the distribution of
## Changelog
`1.1.1`
- fixed bug for the "open image in new tab" feature
- Fix bug for the "open image in new tab" feature
`1.1.0`
- fixed alphabetical sorting

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

View file

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