I am using lightGallery for a website and I wanted to add a "load more" button to the gallery page, mostly for faster loading on mobile phones. I found various methods and tried them. Most of them don't work and/or doesn't suit my need for loading the elements on request.
The answer of Ramin Esfahani is of course correct. But you also have to destroy the lightGallery data ever time the "Load More" button is clicked. This is in done in the directive part. Of course change the "#fotoalbum" to your own ID or class. This is the code:
As you can see the view is a page, you can create a block view of course, this is just an example, the important part is the FORMAT, it's a Lightgallery format, if you click on the Settings link, you'll see all the lightgallery options.
After all the view is configured, you can see the results (the default view is looking at any kind of content published with images), open up the /lightgallery path and click on an image to see lightgallery working.
Navigation and control is possible via buttons, via the keyboard on a PC and via one finger swipes on touch screen devices.
Help-, navigation- settings- and other buttons at the top of the index page are optional and can be hidden or displayed by clicking the theme image or the album title.
Navigation on the slide page: Swipe left / right to the next or previous image, spread to zoom in, swipe up or down to close the slide page and return to the index page.
Some other settings can be changed by the viewer like the button size and the font size, which is is useful for small devices like an iPhone and in case you have troubles reading small letters. It is also possible to change here the viewing time in the optional slide show presentation and the slide transition type and transition time for a slide. The slide show can be started from the slide page, from the index page and fully automatically, where the index page is skipped.
Via 7 optional links on the index page, displayed as standard text buttons, as icon buttons, in a tool-bar or in the menu-bar at the top of the index page, you can add links to other albums or web-pages in a new window or in the same window. You can also display a web-page in a frame on the index page.
New check-box "After the theme image" on the footer page after "The text and/or HTML code below is inserted after the buttons and before the Profile image or", used to display a slide show or movie instead of a theme image.
More info: -to-use-video-or-slide-show-instead.html
It is now possible to use a javascript function in the 7 URL fields on the Links tab. You can use that to add navigation buttons to an album with folders:
Enter javascript:previousindex() in the URL field link #1
Enter javascript:up() in the URL field link #5
Enter javascript:nextindex() in the URL field link #7
Three check-boxes added to the Theme image tab, to make it possible to display the album description and / or the link-buttons and / or the audio controller in all types of Theme images. These check boxes do overrule the "Show these links and the album description above the thumbnails" on the Links tab and "Show audio player above the thumbnails" on the Music tab. Also added next to these check-boxes a font-color selector for the album description and a Spinner for the vertical position in the Theme image.
If you display a route track in an album and you open that track with the Google Maps button on the index page, the current location will be updated each 5 seconds, so you can now follow the route on the map: move in such a way that the blue circle coincides with the track. On the bottom you see a 'Center' button, which can be used to center the current location in the map.
New text area added to the 'Custom code' tab to add extra options or overrule existing options for the light-box.
Font-size of the caption follows now the value entered in the Skin / General tab.
The color of the original slide tool-bar buttons and arrow buttons do no longer change if you hover with the mouse.
Much code will be removed from file index.htm(l) if both check-marks 'Skip thumbnails pages' and 'Use LightGallery-placeholder' have been set and slidePage options ' Show location button' and 'Show Share window button' have not been set. You may set 'Show location button', but only if you set also 'Show location in a new tab ...'. This makes it easier to embedded a light-box in a an existing web page without iframes or JSON data, see my homepage www.andrewolff.nl
When viewing the images between cameras for noise it is important to scale the photos to be the same size and not compare them at 100%. The former is a fair comparison because it imposes the same viewing perspective; the latter will always make a higher resolution camera look worse by emphasizing the per-pixel noise at the expense of overall image quality. In the dpreview studio comparison tool, click on the "comp" button as in this example comparing the X-H2, X-H2S, Z6ii, and Z7ii. You can see that the Z6ii has the lowest noise, but the difference isn't huge.
I added a little momentary push button in order to make the led strip to stays on as a normal light source bypassing the PIR sensor, the same button if pressed agan will turn the lights off an enable the PIR again ready for detect movements.
The Hunter Light stock is 25% lighter than all other GRS laminate models.
A 5% scaled-down grip and length of pull make it our shortest and slimmest stock offering. The famous push-button cheekpiece adjustment and the ergonomic grip are standard. You can increase the length of pull by adding 1cm spacers, so the stock is very adaptable. The LOP will be extended from 32,5 cm to 34,5 cm using the included spacers.
We are so excited in 2023 to introduce Bassett Furniture and Club Level. Basset is a complete source for upholstered and dining room furniture. Club Level offers you leather reclining with the push of a button.
The D780 has a very similar design to the D750, both in terms of button layout and ergonomics. If you're comfortable using your D750 at night, it will be very easy to switch to the D780. The main difference is that the "i" button has moved from the lower left to the lower right. The "info" button has also moved from the upper right to the lower left. Finally, the Live View button has moved from the lower right to the upper right. After using the camera for a day, it's pretty easy to get used to these small changes. Click here to see the Nikon D750's button layout, and here to see the Nikon D780's button layout.
The most important change to the button layout is the ISO button. Thankfully, Nikon put the ISO button up top, next to the "Record Movie" button. This makes it very easy to find at night, and quickly switch the ISO. On the D750, the ISO button was placed on the back, right between some very important buttons like "Quality" and "i". It was very easy to accidentally switch from RAW to JPEG if you weren't careful, especially in the dark.
One shortcoming of the D780 is the lack of illuminated buttons. The D850 allows you to flick the "on/off" switch and illuminate the rear buttons temporarily. This can be very handy at night, especially if you're still new to the camera. Once Nikon developed this tech, you'd think they would include it on all new cameras. The D780 has many features specifically designed for night shooting, so it seems odd Nikon did not include illuminated buttons. This isn't that big of a problem, and you should know how to use your camera in the dark. Still, it would have been a nice addition...
Finally, one of my favorite changes is the shutter sound. The Nikon D750 has a very loud mechanical shutter, which I found to be a bit off-putting the first time I heard it. I eventually got used to it though. (I realize I'm nitpicking here). The new D780 has a noticeably quieter and "lower pitched" shutter. You can even turn on a Silent Shutter option when using Live View. If Silent Shutter is enabled, the camera will take photos in Live View without making any noise. The Silent Shooting mode should help to reduce some camera shake, since the mechanical shutter is not coming down after each photo. (Although you'd be hard-pressed to ever see any shutter-induced camera shake in your astro images)
All things considered, the Nikon D780 has an improved button layout that makes more sense than the D750. However, I have noticed that the "d-pad" is somewhat "gummy" on the D780. My D750 d-pad still acts like it's brand new, even after all these years. The D780 d-pad tends to be very mushy though, and sometimes it's hard to press. I'm not sure if mine is defective, or if this is a common problem with all D780s.