UNPKG

18.6 kBMarkdownView Raw
1<img src="http://nanogallery2.nanostudio.org/img/nanogallery_logo_v3_main_black.png" alt="nanogallery2"/>
2
3# nanogallery2 - ChangeLog
4### List of releases with new features and improvements
5
6
7v3.0.2 - Jul 21, 2020
8------
9- new: **[BREAKING CHANGE for FLICKR user] a custom Flickr API key is now required:**
10 To request one: https://www.flickr.com/services/apps/create/
11 And set it with the new option 'flickrAPIKey'
12- new: data source, ignore markup elements which do not contain media data
13- fixed: lightbox does not free it's resources on close, in some case
14- fixed: lightbox previous media displayed over current media on startup
15- fixed: #266 layout is not adjusted immediately anymore when resizing the browser window
16- fixed: #268 self hosted video is not playing when clicked
17- fixed: #269 value 'none' for option 'viewerGallery' not working
18- fixed: Vimeo videos no playing
19- changed: option 'galleryResizeAnimation' now set to false by default
20- minor bugfixes
21
22v3.0.1 - Jun 26, 2020
23------
24- fixed: Flickr connector
25- fixed: lightbox error when thumbnails are disabled
26- fixed: fullscreen mode remains activated when lightbox is closed after having been started in fullscreen mode
27- fixed: requestAnimationFrame not used in some cases
28- fixed: does not scroll to top of gallery when an album is opened
29- minor bugfixes
30
31
32v3.0.0 - Jun 19, 2020
33------
34- new features:
35 - thumbnails on lightbox
36 - mosaic layout is now fully responsive
37 - options 'thumbnailGutterWidth' and 'thumbnailGutterHeight' are now responsive
38 - filtering, option galleryFilterTagsMode/galleryL1FilterTagsMode - possible value 'single', 'multiple'
39 - filtering, if no tag is selected then no filter is applied
40 - loading spinner over thumbnail during album content download
41 - first album level: new options thumbnailL1BorderHorizontal and thumbnailL1BorderVertical
42 - gallery pagination: left/right buttons on top of the gallery (option 'galleryPaginationTopButtons')
43 - lightbox: swipe up to close (additional to the existing swipe down gesture)
44 - lightbox: button to add media to shopping cart
45 - callback fnPopupMediaInfo(item, title, content) -> {title: my_title, content: my_content}
46 - improved: swipe and touch gesture using velocity
47 - rounded border on thumbnails (defined in 'galleryTheme')
48 - improved: page scrollbar better removed on lightbox display, to avoid page reflow
49 - randomized thumbnail display order: option 'thumbnailDisplayOrder' ('', 'random')
50 - easing for thumbnail display animation: option 'thumbnailDisplayTransitionEasing' (default: easeOutQuart)
51 - Google Photos: enable the use of filename as the title (#226 - thanks to Kevin Robert Keegan https://github.com/krkeegan)
52 - Flickr: option tagBlockList to filter out images based on tags (#233 - thanks to Jonathan Keane https://github.com/jonkeane)
53 - media title renaming with option 'titleTranslationMap'
54
55- changed:
56 - **BREAKING**: option 'blackList' renamed to 'blockList'
57 - **BREAKING**: option 'whiteList' renamed to 'allowList'
58 - lightbox toolbar: option viewerToolbar.display now set to false by default
59 - **BREAKING**: shopping cart handling refactored
60 - thumbnail label: new option 'valign' in addition to the 'position' option
61 - gallery filtering: icon for tags and for tag's filter reset
62 - lightbox tool: icons layout and background
63 - hover animation on thumbnails are now disabled by default ('touchAnimation' default value changed to false)
64 - **BREAKING**: option 'thumbnailOpenImage' renamed in 'thumbnailOpenInLightox'
65 - **BREAKING**: callbacks fnGalleryRenderStart/fnGalleryRenderEnd: now return the album object instead of it's index
66
67- fixed:
68 - nano_photos_provider2: on gallery initialization, if an album is defined, gallery does not display sub-albums
69 - gallery may not be displayed depending on the display animation
70 - lightbox: one touch will display toolbars and label when they are hidden
71 - modal popup (media info, share): display not sharp, and wrong size on mobile devices
72 - some artefacts around thumbnails in some use cases
73 - #219 dragging in Firefox - many thanks to Largo (https://github.com/Largo)
74 - #226 Google Photos issue on description value (#226 - thanks to Kevin Robert Keegan https://github.com/krkeegan)
75 - many mirror fixes
76
77- depreciated:
78 - removed: viewerDisplayLogo option
79 - removed options 'topOverImage', 'bottomOverImage' for lighbox vertical toolbar position
80 - removed lightbox theme 'border'
81
82v2.4.2 - Mar 22, 2019
83------
84- new: self hosted videos - support for WEBM and OGV formats (dependant on browser support)
85- fixed: gallery not displayed under certain conditions
86- fixed: first html5 video unclickable
87- fixed: self hosted videos - support in html markup method
88- removed: share on google+
89
90v2.4.1 - Mar 13, 2019
91------
92- new: support for self hosted videos (mp4)
93- new: lightbox - button to rotate images
94- new: lightbox - fluid transition from zoomed to unzoomed image when displaying a new image
95- new: API shopping cart update event now returns also the concerned item
96- fixed: new data provider for the new Google Photos API (nanogp2 - https://github.com/nanostudio-org/nanogp2)
97- note: Google Photos - videos cannot be played in the lightbox (only download is available)
98- fixed #160: IE11: CSS can not be accessed
99- fixed #161: IE11: startsWith not defined
100- fixed #157: pagination - scroll to top of the gallery in mode pagination
101- fixed #155: image transition effect SWIPE
102- fixed: fullscreen issue in Chrome
103- enhancement #175: gallery display shaking when pagination activated on mobile device
104- enhancement: lightbox vertical pan handling
105- removed: option 'albumListHidden' depreciated
106
107
108v2.3.0 - Sep 26, 2018
109------
110- new loading spinner with support of gif/png files with transparency
111- new default lightbox image transition 'swipe2'
112- optimized thumbnails lazy loading and display animation
113- fixed #130 Joomla3/Bootstrap2 Image Zoom In Bug
114- fixed #131 deep linking to image when only one album loaded
115- fixed #144 copy-n-paste error - thanks to citrin for the fix
116
117
118v2.2.0 - May 25, 2018
119------
120- new option 'eventsDebounceDelay' - thumbnail's lazy display fine tuning (response delay after resizing, rotation and scroll events)
121- new API method 'resize' - force a gallery resize. To be used when adding/removing items dynamically, to avoid a full re-display of the thumbnails.
122- new internal NGY2Item object method 'delete' - deletes the current item
123- new internal NGY2Item object method 'addToGOM' - adds the current item to the Gallery Object Modell
124- changed: 'thumbnailDisplayOutsideScreen' default value is now 'true'
125- fixed issue on callbacks fnGalleryLayoutApplied, fnGalleryObjectModelBuilt, fnGalleryRenderStart (#121), galleryRenderEnd, fnShoppingCartUpdated, fnShoppingCartUpdated
126- fixed #120 - thumbnails with a Single Quote wont load
127- fixed #117 - Joomla/Bootstrap icon conflict - changed class in CSS file
128- fixed #126 - custom theme using colorSchemeViewer not working
129- fixed thumbnail effects 'labelSlideUp' and 'labelSlideDown'
130- fixed thumbnail effects with CSS 2D/3D transformations
131
132
133v2.1.0 - Mar 5, 2018
134------
135- new: API methods 'closeViewer', 'minimizeToolbar', 'maximizeToolbar', 'paginationPreviousPage', 'paginationNextPage', 'paginationGotoPage', 'paginationCountPages'
136- fixed: single touch to open thumbnail when no hover effect defined
137- fixed: lightbox support for empty top-left or top-right toolbar
138- fixed: option 'galleryMosaicL1' renamed to 'galleryL1Mosaic'
139- fixed: options 'touchAnimation' and 'touchAnimationL1'
140- fixed: #82 option 'thumbnailAlbumDisplayImage'
141- fixed: incorrect .nGY2GThumbnailSub size
142- fixed: functions NGY2Item.thumbSet(), NGY2Item.imageSet(), NGY2Item.thumbSetImgHeight(), NGY2Item.thumbSetImgWidth()
143
144
145v2.0.0 - Nov 30, 2017
146------
147- new: mosaic layout
148- new: video support (Youtube, Vimeo and Dailymotion)
149- new: image slider in thumbnail (see option 'thumbnailSliderDelay')
150- new: value 'fillWidth' for option 'thumbnailAlignment' (is also the new default value)
151- new: option 'thumbnailBaseGridHeight' for cascading layout
152- new: markup content source supports the ID attribute
153- new: option 'viewerTransitionMediaKind' to enable/disable media transition in lightbox
154- new: module support
155- new: callback fnProcessData for Flickr data
156- enhanced: option 'thumbnailOpenOriginal' for all data types
157- enhanced: added keyword 'auto backup' to default value for 'blackList'
158- enhanced: loading.gif embeded in CSS file
159- changed: the lightbox is nor more closed when the user clicks/touches the area outside the image
160- fixed: #67 viewer opens even if cutom viewer defined (broken in v1.5.0)
161- fixed: image swipe left/right closes the lightbox
162- fixed: #56 #68 destroy method issue -> warning: browser back to non existing location could happen
163- fixed: #70 overflow-x: hidden; not working after exit gallery
164- fixed: Flickr - album list blocked by hidden albums
165- fixed: #69 message 'error: no image to process.' no more displayed
166- fixed: #77 link to the photo on flickr leads to photostream instead of album
167- fixed: #78 exif time now handeld as string format
168- fixed: image on selected thumbnail not visible
169
170
171v1.5.0 - Sept 7, 2017
172------
173- new: swipe down to close lightbox
174- new: thumbnail image dominant color in stacks
175- new: thumbnail gradient color during image download (see galleryTheme)
176- new: lightbox option 'viewerImageDisplay'
177 Possible values : 'upscale' to upscale images to fullscreen, 'bestImageQuality' for highest quality on high DPI screens like retina
178- new: define multiple thumbnails per item (url and size) - API and markup content source
179- enhanced: lightbox image zoom and swipe
180- removed: open image in Google Photos (broken since changes by Google)
181- fixed: #51 - thumbnail to navigate up not displayed correctly
182- fixed: Flickr incorrect image resolution
183- fixed: thumbnail to navigate up displayed even without parent album
184- fixed: option 'photoset' not a real alias of 'album'
185- fixed: sorting for images/albums defined with HTML markup or javascript
186- fixed: package manager compatibility
187- fixed: incorrect cursor pointer when lightbox disabled
188- fixed: endless loop if image/gallery in location hash does not exit (markup or javascript content)
189- fixed: internal lightbox started although third party lightbox defined
190- misc performance enhancements and bugfixes
191
192
193v1.4.1 - June 11, 2017
194------
195- fixed: incorrect font embedded in nanogallery2.woff.css
196
197
198v1.4.0 - June 11, 2017
199------
200- new: display thumbnail's images smoothly when fully downloaded (option 'thumbnailWaitImageLoaded')
201- new: gallery display animations (options 'galleryDisplayTransition' and 'galleryDisplayTransitionDuration')
202- new: tags support with nanoPhotosProvider2
203- new: API functions to search in title and tags ('search2', 'search2Execute')
204- enhanced: blurred image display during image download (thumbnails)
205- enhanced: thumbnails display animations
206- changed: default thumbnail background color from black to gray
207- fixed: #46 rotate internal viewer doesn't resize gallery
208- fixed: #46 hover effect 'toolsAppear' works only with one toolbar
209- fixed: #46 hover effect issue on touch/mobile device
210- fixed: #48 browser navigation back to root album doesn't work
211- fixed: #48 API function displayItem
212- fixed: image display quality in Chrome
213- fixed: misc small issues
214
215
216v1.3.0 - May 11, 2017
217------
218- new: display thumbnail's images smoothly when fully downloaded - option 'thumbnailWaitImageLoaded'
219- new: gallery display animations (options 'galleryDisplayTransition' and 'galleryDisplayTransitionDuration')
220- new: tags support with nanoPhotosProvider2
221- new: API function 'SearchTags'
222- enhanced: blurred image display during image download (thumbnails)
223- enhanced: thumbnails display animations
224- changed: default thumbnail background color from black to gray
225- fixed: #46 rotate internal viewer doesn't resize gallery
226- fixed: #46 hover effect 'toolsAppear' works only with one toolbar
227- fixed: #46 hover effect issue on touch/mobile device
228- fixed: image display quality in Chrome
229
230
231v1.3.0 - May 11, 2017
232------
233- new: #3 Auto hide tools on image view after inactivity. Use the option viewerHideToolsDelay to define the delay in ms.
234- new: compatibility to nanoPhotosProvider2 (https://github.com/nanostudio-org/nanoPhotosProvider2)
235- new: possibility to display dominant color gradient (blurred images) during image load (on thumbnails, not supported by Google Photos or Flickr data source)
236- new: thumbnail display transitions, new possibilties: 'flipDown', 'flipUp', 'slideUp2', 'slideDown2', 'slideRight', 'slideLeft'
237- new: thumbnailDisplayTransition 'slideUp' and 'slideDown': distance can be defined (example: 'slideUp_200')
238- new: share to VK.com
239- new: #39 lightbox single tap/click to go to next/previous image (to remove the single tap delay, set option 'viewerZoom' to false)
240- new: album level 1 specific options: 'fnThumbnailL1DisplayEffect', 'thumbnailL1DisplayTransition', 'thumbnailL1DisplayTransitionDuration', 'thumbnailL1DisplayInterval'
241- new: #30 callbacks in HTML markup mode
242- new: enhanced compatibility to browser without CSS Transform support
243- new: ImagesLoaded now in version 4.1.1
244- new: screenfull.js now in version 3.2.0
245- changed: removed share button from to top right toolbar (can be changed with the option 'viewerTools')
246- fixed: low image quality in some cases
247- fixed: share to Google+
248- fixed: old Picasa albums not retrieved (for data before 09/02/2017)
249- fixed: #14 Slideshow stop on iPhone/android
250- fixex: #34 Image description - filename no more used in title by default
251- fixed: #37 Error using custom colors for colorSchemeViewer breaks nanoGallery2
252- fixed: #38 Fullscreen icon when opening in fullscreen
253
254
255v1.2.1 - Mar 23, 2017
256------
257- fixed: Google Photos albums not displayed (with NANOGP - https://github.com/nanostudio-org/nanogp)
258- fixed: kind 'google' for (old) Picasa data
259- fixed: #31 pagination 'pageChanged' event only fired with next/previous
260- fixed: parameter 'galleryLastRowFull' ignored in justified layout
261
262
263
264v1.2.0 - Mar 20, 2017
265------
266- new: thumbnails hover effects can now be chained and syntax has been enhanced with new options
267- new: stack motions effects on thumbnails - options 'thumbnailStacks' and 'thumbnailL1Stacks' to add N stacks behind the thumbnails (thanks to Mary Lou from Codrops for the inspiration - https://tympanus.net/codrops/2017/03/15/stack-motion-hover-effects/)
268- new: options 'thumbnailStacksTranslateX', 'thumbnailStacksTranslateY', 'thumbnailStacksTranslateZ', 'thumbnailStacksRotateX', 'thumbnailStacksRotateY', 'thumbnailStacksRotateZ', 'thumbnailStacksScale'
269- new: color scheme option 'stackBackground'
270- new: options 'thumbnailL1GutterWidth' and 'thumbnailL1GutterHeight'
271- new: #23 define a specific image for download (options 'downloadURL' or 'ngdownloadurl')
272- new: #21 option 'thumbnailDisplayOutsideScreen' to let the thumbnails always displayed even if not visible on screen (may impact performances)
273- new: parameter 'itemsBaseURL' ignored when source of an image is an full URL
274- new: #20 option 'data-ngcustomdata' (additionaly to 'ngcustomdata')
275- new: thumbnail icon 'display' to open a thumbnail even if selection mode is activated
276- changed: hammer.js v2.0.8
277- changed: 'viewerDisplayLogo' default value set to false
278- changed: access to old Picasa content now included in module google2
279- fixed: #28 - Setting navigationBreadcrumb borderRadius does not have any impact
280- fixed: parameter 'galleryMaxItems' not working with data source 'google2'
281- fixed: parameter 'descriptionFontSize' ignored
282- fixed: image zoom with mouse wheel on Firefox
283
284
285v1.1.0 - Mar 6, 2017
286------
287- new: custom tools for thumbnails ('custom1..10' and the associated icons (icons.thumbnailCustomTool1..10))
288- new: support for custom buttons on thumbnails
289- new: callback on click on thumbnail's custom tool - fnThumbnailToolCustAction(action, item)
290- new: events 'itemSelected.nanogallery2', 'itemUnSelected.nanogallery2'
291- new: data-attribute case insensitive for items definition
292- enhanced: image display toolbars handling (custom buttons, custom elements, definition order...)
293- fixed: small bugs
294
295
296v1.0.0 - Feb 27, 2017
297------
298- new: options to set the size of images and thumbnails
299- new: options to set EXIF properties with javascript
300- new: API option 'refresh' to display again the current gallery
301- new: API option 'instance' to get the reference of the gallery instance
302- new: API option 'search', display thumbnails with title containing the search string
303- new: callbacks 'fnGalleryRenderStart', 'fnGalleryRenderEnd', 'fnGalleryObjectModelBuilt', 'fnGalleryLayoutApplied'
304- changed: default thumbnail toolbar for albums - thumbnailToolbarAlbum : { topLeft: 'select', topRight : 'counter' }
305- changed: default thumbnail toolbar for imgae - thumbnailToolbarImage : { topLeft: 'select', topRight : 'featured' }
306- changed: default value of 'thumbnailDisplayInterval' from 30 to 15
307- enhanced: high DPI screen, like Retina, support for self hosted content when image size defined
308- fixed: misc issues with kind 'google2'
309- fixed: zoom image in/out for self hosted content
310
311
312v0.9.3 - Feb 18, 2017
313------
314- fixed: incorrect image size with Flickr storage
315- fixed: double tap fired on zoom-in/out icons
316- fixed: image next/previous scrolled 2 images on iPhone
317- fixed: incorrect image display
318- fixed: error on Google Photos albums with more then 1000 photos
319- fixed: Google Photos data added after february 9, 2017 not accessible (module nanogp:https://github.com/nanostudio-org/nanogp)
320- improved: image zoom management
321
322
323v0.9.2a - Jan 31, 2017
324------
325- fixed: infobox not displayed in lightbox
326- fixed: incorrect thumbnail height/widths calc for google (thanks to alexanderhowell - https://github.com/alexanderhowell)
327- fixed: incorrect min-width in CSS
328
329
330v0.9.2 - Jan 26, 2017
331------
332- new option 'thumbnailOpenOriginal' : display the original image (for example in Flickr or Google Photos), without opening the lightbox
333- some icons replaced
334- minor changes in the lightbox layout
335- new value for 'thumbnailToolbarImage': 'info'
336- added support of Android stock browser
337- minor bugfixes
338
339