UNPKG

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