UNPKG

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