[Plugin: NextGEN Gallery] Quicksend effect template Ajax
-
I found Quicksand effect (https://razorjack.net/quicksand/) earlier and now want to implement it into NextGen Gallery because it might be suitable for some of my future needs.
The final results I want to achieve is something like this – https://themes.iki-bir.com/locusv4/dark.html#portfolio.
To achieve this I understand that I have to have some “categorization” of images so I can group them and load when I click on a category name (like in the previous example). For “categorization” I can use albums or tags (if I choose tags all images should be in the same album).
My current scenario is like this:
– in admin
1. upload images into two albums (for example Flowers and Tools)
– in template
1. add custom template file to my theme (page-nextgen-quicksend-gallery.php) and in link it to real page in admin (this would act as a wp theme custom template file)
2. in this template i would get list of albums (just names and links) and organize them as a menu in one row (items will be All, Flowers, Tools)
3. i will get last X images as default state of the page (for first item – All)
3. when user clicks on Flowers there should be an ajax request which would respond with list of images from that album
4. Quicksand script will get list of images (rendered template with<li>
items) and do the fancy thingOne important thing here is that Quicksand works with
<li>
items (maybe this can be modified in this script), and therefore I would make new NGG galery template named gallery-images-loop.php and add only loop for images. That means that<ul>
and</ul>
elements would be in page-nextgen-quicksend-gallery.php file.My question is how to get that ajax call from page-nextgen-quicksend-gallery.php file to get images from album (what should be my link)? What is the syntax for that? I tried something from this post – https://vinayp.com.np/how-to-use-nextgen-gallery-using-custom-php-code-on-theme-file/ but I couldn’t figure it out.
Example for Quicksand effect with WordPress posts can be found here – https://www.lovecreativity.co.uk/development/jquery/quicksand-jquery-wordpress
- The topic ‘[Plugin: NextGEN Gallery] Quicksend effect template Ajax’ is closed to new replies.