In {Theme} you will have no problems finding the images you are looking for using the Isotope filters to find the perfect picture for you.
Filters
HTML markup
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
<ul class="dropdown-menu ct-isotope-filtering"> <li class="ct-wide-dropdown"> <div class="ct-wide-dropdown-container"> <div class="row"> <div class="col-md-8 ct-u-background--white"> <div class="ct-wide-dropdown__white-section"> <h4 class="ct-dropdown-header ct-dropdown-header--dark">Photography</h4> <div class="row"> <div class="col-md-4 col-sm-4"> <ul> <li><a href="portfolio.html" data-filter="*">All Categories</a> </li> <li><a href="portfolio.html" data-filter="animals">Animals</a> </li> <li><a href="portfolio.html" data-filter="cats">Animals - Cats</a> </li> <li><a href="portfolio.html" data-filter="dogs">Animals - Dogs</a> </li> <li><a href="portfolio.html" data-filter="artistic_objects">Artistic Objects</a> </li> <li><a href="portfolio.html" data-filter="babies_and_children">Babies & Children</a> </li> <li><a href="portfolio.html" data-filter="black_and_white">Black & White</a> </li> <li><a href="portfolio.html" data-filter="buildings">Buildings</a> </li> </ul> </div> </div> </div> </div> </div> </div> </li> </ul> |
Screenshot

Isotope Filte example
Item
HTML markup
1 2 3 4 5 6 |
<article class="ct-isotope-item isotope-grid-sizer people"> <div class="ct-isotope-item__inner"> <figure class="ct-isotope-item__media"><a href="image_single.html"><img src="assets/images/demo-content/isotope-item01.jpg" alt="Jakob_Night"/></a></figure> <div class="ct-isotope-item__content"><a href="image_single.html" class="ct-isotope-item__name">Jakob_Night</a><a href="#" class="ct-isotope-item__likes"><i class="fa fa-heart"></i>25</a></div> </div> </article> |
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 |
inside document ready // isotope filter manager var isotope_gallery = $('.ct-isotope-gallery'); var isotope_filter = $('.ct-isotope-filtering a'); var isotope_categories = $('.ct-isotope-gallery-categories'); var main_categories = isotope_categories.find(".ct-isotope__main-categories"); var sub_categories = isotope_categories.find(".ct-isotope__categories"); if(el_body.find(".ct-isotope-gallery").length){ isotope_filter.each(function(){ var filter_value = sessionStorage.getItem('filter') || "*", that = $(this); if (that.attr("data-filter") == filter_value) { that.parent().addClass("is-active"); return false; } }); } isotope_filter.on('click', function(e) { if(el_body.find('.ct-isotope-gallery').length) { e.preventDefault(); var filter_value, that; that = $(this); isotope_filter.parent().removeClass('is-active'); that.parent().addClass('is-active'); filter_value = that.attr('data-filter'); $('.is-sidebar-open').removeClass("is-sidebar-open"); $('.ct-menu-mobile').removeClass("is-open"); $('.ct-mobile-container').removeClass("is-open"); $('.morph-wrapper').removeClass('is-morph-open'); sessionStorage.setItem('filter', filter_value); if(filter_value != "*"){ filter_value = "." + filter_value; } isotope_gallery.isotope({ filter: filter_value }); var result = ""; isotope_filter.each(function(){ var filter_value = sessionStorage.getItem('filter') || "*", that = $(this); if (that.attr("data-filter") == filter_value) { result = that.text(); return false; } }); sub_categories.text(result); return false; } else { var filter_val, thiz; thiz = $(this); filter_val = thiz.attr('data-filter'); sessionStorage.setItem('filter', filter_val); var result = ""; isotope_filter.each(function(){ var filter_value = sessionStorage.getItem('filter') || "*", that = $(this); if (that.attr("data-filter") == filter_value) { result = that.text(); return false; } }); sub_categories.text(result); } }); inside window load // Isotope // if ($().isotope) { var isotope_gallery, isotope_filter, isotope_load, layout_buttons, masonry_layout_button, half_layout_button, grid_layout_button, isotope_categories, main_categories, sub_categories; isotope_gallery = $('.ct-isotope-gallery'); isotope_filter = $('.ct-isotope-filtering a'); isotope_load = $('#load-more'); isotope_categories = $('.ct-isotope-gallery-categories'); main_categories = isotope_categories.find(".ct-isotope__main-categories"); sub_categories = isotope_categories.find(".ct-isotope__categories"); var result = ""; isotope_filter.each(function(){ var filter_value = sessionStorage.getItem('filter') || "*", that = $(this); if (that.attr("data-filter") == filter_value) { result = that.text(); return false; } }); sub_categories.text(result); var filter_value = sessionStorage.getItem('filter') || "*"; if(filter_value != "*"){ filter_value = "." + filter_value; } // pagination menager layout_buttons = $('.ct-isotope-gallery-pagination button'); masonry_layout_button = $('.ct-js-isotope-gallery-massonry'); half_layout_button = $('.ct-js-isotope-gallery-half'); grid_layout_button = $('.ct-js-isotope-gallery-grid'); if (isotope_gallery.hasClass("ct-isotope-item--half")) { half_layout_button.addClass("is-active"); } else if ((isotope_gallery.hasClass("ct-isotope-item--grid"))) { grid_layout_button.addClass("is-active"); } else { masonry_layout_button.addClass("is-active"); } masonry_layout_button.on("click", function(){ filter_value = sessionStorage.getItem('filter') || "*"; if(filter_value != "*"){ filter_value = "." + filter_value; } layout_buttons.removeClass("is-active"); $(this).addClass("is-active"); isotope_gallery.removeClass("ct-isotope-item--half ct-isotope-item--grid"); isotope_gallery.isotope('layout'); }); half_layout_button.on("click", function(){ filter_value = sessionStorage.getItem('filter') || "*"; if(filter_value != "*"){ filter_value = "." + filter_value; } layout_buttons.removeClass("is-active"); $(this).addClass("is-active"); isotope_gallery.removeClass("ct-isotope-item--grid"); isotope_gallery.addClass("ct-isotope-item--half"); isotope_gallery.isotope('layout'); }); grid_layout_button.on("click", function(){ filter_value = sessionStorage.getItem('filter') || "*"; if(filter_value != "*"){ filter_value = "." + filter_value; } layout_buttons.removeClass("is-active"); $(this).addClass("is-active"); isotope_gallery.removeClass("ct-isotope-item--half"); isotope_gallery.addClass("ct-isotope-item--grid"); isotope_gallery.isotope('layout'); }); // mian isotope invoke isotope_gallery.isotope({ itemSelector: '.ct-isotope-item', percentPosition: true, masonry: { columnWidth: '.isotope-grid-sizer' }, filter: filter_value }); // infinity load isotope_load.on('click', function() { var load_name, load_page, response, that; that = $(this); load_name = that.attr('data-load-name'); load_page = parseInt(that.attr('data-load-page')); response = ''; $.ajax({ type: 'GET', url: load_name + load_page + '.html', async: false, success: function(value) { response = value; return isotope_gallery.isotope('insert', $(response)); }, complete: function() { // magnific_popup(); return $.ajax({ type: 'GET', url: load_name + (load_page + 1) + '.html', async: false, error: function() { return that.remove(); } }); } }); return that.attr('data-load-page', load_page + 1); }); } // end isotope inside window scroll if ($('.ct-js-infinite').length) { $('.ct-js-infinite').each(function() { var offset, that; that = $(this); offset = parseInt(that.offset().top); if (that.visible()) { return that.trigger('click'); } }); } |
Screenshots

isotope Item example

Isotope Item on hover example
Isotope Documentation can be found here Files are bundled inside shots.min.js & style.css