UNPKG

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