All Versions
10
Latest Version
Avg Release Cycle
164 days
Latest Release
1934 days ago

Changelog History

  • v4.1.3 Changes

    January 08, 2019

    ๐Ÿš€ This minor patch fixes issue with devices that have multiple types on input, running Windows 10 and Chrome (#1579). Larger update with improvements of API, certain parts of PhotoSwipe UI and functionality will hopefully be released in a near future (subscribe to get notified by email).

  • v4.1.2 Changes

    April 05, 2017

    ๐Ÿ›  Fix: iOS 10.3 not updating layout after orientaton change in some cases. For more details please refer to issue #1315 (comment)

  • v4.1.1 Changes

    December 24, 2015
    • ๐Ÿ›  Fix: click on inline SVG in slide or controls causes error "SvgAnimatedString no className".
    • ๐Ÿ›  Fix: Firefox 42 not rendering nearby images sometimes, issue #1014.
    • Disabled native fullscreen option entirely in old versions of Android
    • โž• Added option fitControlsWidth for the default UI (default was not changed โ€“ 1200px), issue #1021.

    ๐Ÿฑ ๐ŸŽ„

  • v4.1.0 Changes

    July 11, 2015

    ๐Ÿ‘Œ Improved rendering performance of images that are larger than PhotoSwipe viewport, which leads to more smooth swipe transition and decreased memory usage (up to 50% depending on image and viewport size), but affects zooming behaviour.

    Composited layer for the image is now created only after it's zoomed. Watch screencast that demonstrates how it works now.

    This change does not affect public API, everything should work as before.

    Also some small things that were changed:

    • closeOnScroll is now blocked if animations are running or gesture is performed.
    • Horizontal dragging direction is forced if previous swipe transition wasn't finished.
    • โฌ‡๏ธ Reduced duration of transition that finishes zoom gesture (300 to 200ms).
    • 0๏ธโƒฃ verticalDragRange default value increased from 0.6 to 0.75.
    • โฌ‡๏ธ Reduced default maximum spread and double tap zoom level from 2x and 1.5x to 1.33x.
  • v4.0.8 Changes

    May 21, 2015
    • โž• Added ability to use custom identifiers for the slides in the URL, for example: http://example.com/?gid=1&pid=your-custom-gallery-item-uid. More info in FAQ section of docs. (via @csu & @kyleder).
    • โž• Added vertical drag range option (verticalDragRange) (via @v-yanchevsky).
    • โž• Added ability to control size of PhotoSwipe viewport (it doesn't have to fill 100% width and height of window). More info in FAQ section of docs.
    • ๐Ÿ›  Fix: partly broken preloader animation when direction:rtl.
  • v4.0.7 Changes

    March 18, 2015
    • ๐Ÿ›  Fix: slow wheel scroll on Windows Firefox (#730).
    • ๐Ÿ›  Fix: wrong image size when it's smaller than PhotoSwipe viewport in IE8.
    • ๐Ÿ›  Fix: freeze in Ubuntu Firefox 36 (#783), only CSS file changed.
    • โž• Added SVG support: image size is forced to defined "w" & "h" properties of slide object. See demo.
    • โšก๏ธ Update bower.json main array with default ui (via @inlikealion).
    • ๐Ÿ“ฑ Lazy-loading when using responsive images: allow item alteration before checking validity (via @DanielMuller).
  • v4.0.6 Changes

    February 25, 2015
    • ๐Ÿ›  Fix: incorrect zoom pan position in fullscreen when page was scrolled.
    • ๐Ÿ›  Fix: fullscreen icon is not updating when changing fullscreen state.
    • ๐Ÿ›  Fix: orientation change breaks layout if there are 2 slides.
    • ๐Ÿ›  Fix: error when image finished loading (can appear only when low number of items and when rapidly switching
      slides).
    • ๐Ÿ›  Fix: issue with RTL layouts (via @louy).
    • ๐Ÿ›  Fix: error appears when captionEl:false.
    • ๐Ÿ’ป closeOnScroll is now triggered only by mousewheel events and only in browsers that support transform. As various browsers trigger scroll event unpredictably (during page load, when bars appear, etc.).
    • ๐Ÿ›  Fix: in desktop Safari PhotoSwipe that opens on page load can close (caused by above issue).
    • โž• Added `mainScrollAnimStart" event (via @asadovsky).
    • Some developers prefer to edit CSS file directly without using Sass, thatโ€™s why code comments are now visible in .css files too (in dist/ folder), not just in .scss files.

    ๐Ÿ‘ Support PhotoSwipe on Flattr โ†’

  • v4.0.5 Changes

    January 15, 2015
    • Reset idle timer on controls click.
    • Hide share modal when slides change.
    • โž• Added clickToCloseNonZoomable option.
    • ๐Ÿ›  Bugfix: error when replacing slide dynamically.
    • โœ‚ Removed minZoom and maxZoom properties from slide object.
  • v4.0.3 Changes

    January 03, 2015
    • ๐Ÿ›  Fix: dynamic adding/removing slides issue.
    • During zoom/pan image position is now rounded (#704). Not rounded position could cause not sharp image on high-dpi screens
    • Hide arrows and counter if there is only one slide.
    • Prevent page scroll if closeOnScroll:false.
    • โž• Added options that allow to parse share links output.
    • โž• Added event that triggers when share link is clicked.
    • ๐Ÿ”ง Configurable zoom level for double-tap zoom.
    • Prettified, commented and structured Sass files.
    • โž• Added documentation on how to add/remove/edit slides dynamically.

    More info in commit history.

  • v4.0.2 Changes

    December 21, 2014
    • ๐Ÿ“š Now you can add HTML content in slides, more info in documentation.
    • ๐Ÿ›  Fix: links trigger during or after drag gesture.
    • ๐Ÿ‘ Allow dragging or panning only via left mouse button.
    • Double tap zooms to 1.5x if initial zoom is less than 0.7x.
    • ๐Ÿ‘ฎ Force paint on bg and root element (opening transition).