photoviewer

🖼️ A JS plugin to view images just like in Windows.

MIT License

Downloads
81K
Stars
341
Committers
6

Bot releases are visible (Hide)

photoviewer - v3.10.3 Latest Release

Published by nzbin about 1 month ago

Bug Fixes

  • remove crossOrigin for image (#56)
photoviewer - v3.10.2

Published by nzbin 2 months ago

  • add crossorigin support (@souramoo)
photoviewer - v3.10.1

Published by nzbin 5 months ago

  • remove backdrop styles and improve fullscreen styles (57f99281d5b97cd1b487aa066bb3f094665f6f32)
photoviewer - v3.10.0

Published by nzbin 7 months ago

Features

  • add new option errorMsg to customize the error message (#49)
  • add image alt as the default error message
  • improve callbacks beforeChange and changed
  • remove redundant codes and improve some classes
photoviewer - v3.9.2

Published by nzbin 11 months ago

  • fix photoviewer buttons cannot be focused by tab
  • add :focus-visible style for photoviewer modal
  • remove redundant styles
photoviewer - v3.9.1

Published by nzbin 11 months ago

Bug Fixes

  • fix appendTo type (4d60718be5e29582fe682807780967d74ee63d43)
photoviewer - v3.9.0

Published by nzbin 11 months ago

Features

  • use ES module as main entry (ccd630a0fdd9d68ec2fcaa6a53f83abf7af74265)
  • update domq.js to 0.7.x (7670ec4ca279e944043ba50cd43280ef5984b5b0)
photoviewer - v3.8.1

Published by nzbin about 1 year ago

Bug Fixes

  • fix types
photoviewer - v3.8.0

Published by nzbin about 1 year ago

Features

  • add new option animationEasing
  • allow pass empty image array to PhotoViewer
  • rename instance vars (groupData => images, groupIndex => index)
  • remove unused vars and improve some methods
photoviewer - v3.7.3

Published by nzbin about 1 year ago

Bug Fixes

  • fix global name for cjs
  • fix types
photoviewer - v3.7.2

Published by nzbin about 1 year ago

  • update domq.js to 0.6.8 to fix memory leaks caused by using .remove()
  • add PhotoViewer.instances to manage multiple modals
  • remove redundant .off() methods
photoviewer - v3.7.1

Published by nzbin over 1 year ago

  • remove the style field in the package.json
photoviewer - v3.7.0

Published by nzbin over 1 year ago

BREAKING CHANGES

  • renaming the source folder sass to scss

Features

  • rebuild with Dart Sass @use-based API

    @use 'photoviewer';
    
photoviewer - v3.6.6

Published by nzbin almost 2 years ago

  • add shortcuts for maximize (Alt+X) and fullscreen (F) (001e478c2c74b578d2c12c42a33aa9caed80ca61)
photoviewer - v3.6.5

Published by nzbin about 2 years ago

Bug Fixes

  • fix draggable issue of RTL (#36)(2964e2fffd6882c6ea5020dfb35fb49fdb0515fd)
photoviewer - v3.6.4

Published by nzbin about 2 years ago

Bug Fixes

  • fix modal size issue on the start of modal resizing (19e3361821e8ffe7c0b1f30d4f138e340159c591)
photoviewer - v3.6.3

Published by nzbin about 2 years ago

  • change the zoom's argument origin to be optional (ddd5bce27219a984cfa68a2dd80d13860f377545)
photoviewer - v3.6.2

Published by nzbin about 3 years ago

Bug Fixes

  • fix modal size which has borders or paddings
photoviewer - v3.6.1

Published by nzbin about 3 years ago

Bug Fixes

  • fix window width issue with upgrade domq.js to 0.6.7
photoviewer - v3.6.0

Published by nzbin about 3 years ago

Features

  • add new option positionFixed
  • add new option initModalPos
  • add new option animationDuration
  • remove fixedContent (use positionFixed instead)
  • support embed mode (checkout the Online Demo)
  • improve modal position for appendTo option (#15)

Bug Fixes

  • fix image size with Math.round
  • fix image changing issue on quick click
  • fix modal scroll into view after focusing issue on Chrome
Package Rankings
Top 2.37% on Npmjs.org
Badges
Extracted from project README
Travis npm license Gitter Financial Contributors on Open Collective