New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

glightbox

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glightbox - npm Package Versions

13

3.1.0

Diff

Changelog

Source

3.1.0

  • New: Added Avif image support @dramspro
  • New: Add support for responsive images @gaborbsd
  • Updated: playsinline video attribute
  • Updated: url check to allow query parameters in video and images
  • Fixed: Image description/shadow off on mobile device #268
  • Fixed: You can zoom next slide image if current slide is not full height #261
  • Fixed: Draggable option not working with "setElements" #257
biati
published 3.0.9 •

Changelog

Source

3.0.9

  • Updated: Plyr to 3.6.8
  • Improved: JS error when the description attribute is an invalid selector
  • Fixed: Media Buttons Not responding on Android #233
  • Fixed: When touch is activated images swipe independently of their descriptions #238
  • Fixed: Width / Height data attributes do not work for image types #234
  • Fixed: Adds missing size unit of video description on resize #229
biati
published 3.0.8 •

Changelog

Source

3.0.8

  • New: Added Aria-hidden on all root elements except the glightbox-container
  • Fixed: Video in portrait mode is cropped
  • Fixed: Video always has maxWidth 900px because of hardcoded setting
  • Fixed: Removed explicit tabindex from navigation buttons
biati
published 3.0.7 •

Changelog

Source

3.0.7

  • Fixed: Lightbox playing incorrect video with multiple videos in gallery #187
  • Fixed: Draggable: false option not working #192
  • Fixed: Links not working inside inline content in mobile devices
  • Fixed: moreLength not working correctly on mobile if description has HTML
  • Added: Added plugins option for a future release that will allow extending GLightbox with plugins
  • Changed: Plyr fullscreen set to iosNative
  • Changed: Renamed skin option to theme for a future release that will allow creating themes like plugins, skin still works but will be replaced in a future relase
biati
published 3.0.6 •

Changelog

Source

3.0.6

  • Fixed: Events cleanup on destroy() method causes exception #175
  • Fixed: "data-title" Getting Overwritten when "title" is present #178
  • Fixed: IE 11 "Multiple definitions of a property not allowed in strict mode when bundling and minifying glightbox #155
  • Fixed: Cannot add new slides #166
  • Fixed: Video not playing on mobile #160
  • Improved: Plyr will only be loaded if it's already used in the site
  • New: Updated PLYR version to 3.6.3
  • New: Added new option "autofocusVideos" to enable all Plyr shortcuts for the video player
  • New: Improved events to use a generic way to access data
  • New: Improved code
biati
published 3.0.5 •

Changelog

Source

3.0.5

  • Fixed: IE11 does not support ".includes()"
  • Fixed: Clicking outside the content to close only works in specific areas
  • Fixed: openEffect / closeEffect no longer accepting "none"
biati
published 3.0.3 •

Changelog

Source

3.0.3

  • New: Option "dragAutoSnap" to control the mouse drag auto close or change slide
  • Fixed: Multiple galleries not working
  • Fixed: Setting the elements directly using an object triggered error
biati
published 3.0.2 •

Changelog

Source

3.0.2

  • New: Option "zoomable" to enable or disable zoomable images
  • New: Option "preload" to enable or disable preloading
  • New: Option "draggable" to go to prev/next slide by mouse dragging. Thanks to @Hirbod for the donation to make this happen
  • New: Option "dragToleranceX" Used with draggable. Number of pixels the user has to drag to go to prev or next slide
  • New: Option "dragToleranceY" Used with draggable. Number of pixels the user has to drag up or down to close the lightbox (Set 0 to disable vertical drag)
  • New: The code was refactored to make it easier to maintain
  • Fixed: data gallery stopped working
  • Fixed: iOS bug with Vimeo iframe when fullscreen button pressed
  • Fixed: "See more" link in the description throws an JS error when clicked
  • Fixed: Videos not resized vertically when window height was smaller than the window width
biati
published 3.0.1 •

Changelog

Source

3.0.1

  • Fixed: vertical scrolling of descriptions @zothynine
  • Fixed: CSS properties bug
  • Fixed: Passing null as selector throws an exception
biati
published 3.0.0 •

Changelog

Source

3.0.0

  • New: New methods to access player instances "getSlidePlayerInstance(index or node) and getAllPlayers"
  • New: Access player instance from afterSlideChange and beforeSlideChange"
  • New: New Method removeSlide(1) remove slide at the specified index, it works even when the lightbox is open
  • New: insertSlide now works even when the lightbox is open
  • New: Added Accesibility features to slides
  • New: Enabled touchNavigation for all devices that support touch events and not only mobile devices
  • Changed: afterSlideLoad and beforeSlideLoad methods to follow the same variables as afterSlideChange, beforeSlideChange
  • Fixed: Calling destroy() throws an error when modal is not open
  • Fixed: Navigation not disabled correctly when only one slide
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc