UNPKG

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