Releases: sachinchoolur/lightGallery
Releases · sachinchoolur/lightGallery
Version 2.2.0-beta.5 release
Bug fixes
- lgShare - fix google Lighthouse warnings #1089
- remove unnecessary overflow hidden for the thumbnail container
- Fix zoom plugin JavaScript error when the image takes time to load
- Re-position relativeCaption plugin on resize
- Typescrpt - make properties of GalleryItem optional
- Docs - Fix issue Union type defaults values were not displayed
New feature
- Add an option to append captions to the outer div. By setting
appendSubHtmlTo
to.lg-outer
, the main gallery portion and captions can be placed side by side
Version 2.2.0-beta.4 release
Breaking changes
- Download button for video and iframes slides is not disabled by default. You need explicitly pass
data-download-url="false"
if you need to disable the download button.
Bug fixes
- lg-zoom with lg-video crashes when zooming a video on iPhone #1103
- Data attribute for download URL not working as documented #1105
- Control Zoom behavior on inlined Light Gallery #1104
Docs
- Documentation of lgContainerResize event seems to be off #1106
Features
- Add an option set name for the downloaded file
Version 2.2.0-beta.3 release
Bu fixes -
- Hide captions div when it is empty
- Youtube videos not working... #1101 (This was happening when
enableDrag
is false andenableTouch
is true and video poster is provided) - Vertical position of the prev/next controls "incorrect" - not centered #1045
Breaking Change
This release changes the HTML structure a little bit -
- class
.lg
has been renamed to.lg-content
andlg-inner
andcontrols
have been
moved inside.lg-content
. This will affect your existing setup only if you have made any customization - Settings
width
andheight
have been removed
Version 2.2.0-beta.2 release
Version 2.2.0-beta.1 release
Version 2.1.8 release
Version 2.1.7 release
Bug fixes -
- dynamicGallery.refresh() does not allow you to add new video sources #1074
- Wrong button gets disabled on first and last images in gallery (Previous instead of Next) #1060
- When gallery first init with single image and slides updated after, visibility of controls not updating #1069
- hideControlOnEnd option seems not to work #1065
Version 2.1.6 release
Version 2.2.0 beta release
- Add woff2 font support
- Support the last 4 versions of Angular
For the latest version of angular lightGallery can be installed fromlightgallery/angular
Other supported versions of angualr component can be installed fromlightgallery/angular/${versionNumber}
For example, lightGallery component for angular 10 can be installed fromlightgallery/angular/10
Version 2.1.5 release
New relativeCaptions
plugin to place captions relative to the media -
More info - #1041