Skip to content
Munich, Bavaria
—
Post navigation
jQuery( document ).ajaxComplete(function() {
// alert( "Triggered ajaxComplete handler." );
jQuery.fn.getTitle = function() {
var arr = jQuery("a.fancybox");
jQuery.each(arr, function() {
var title = jQuery(this).children("img").attr("title");
var caption = jQuery(this).children("img").attr("alt");
jQuery(this).attr('title',title).attr('data-caption',caption);
})
}
var images = jQuery("a:has(img)").not(".nolightbox").filter( function() { return /\.(jpe?g|png|gif|bmp)$/i.test(jQuery(this).attr('href')) });
var gallery = jQuery(".gallery-item a:has(img)").not(".nolightbox").filter( function() { return /\.(jpe?g|png|gif|bmp)$/i.test(jQuery(this).attr('href')) });
console.log(images.length);
/* images.addClass("fancybox").getTitle(); */
images.addClass("fancybox");
/* images.attr("data-fancybox='images'","gallery"); */ /* MWS codit */
images.parent().attr("data-fancybox","images"); /* MWS codit */
/* gallery.addClass("fancybox").getTitle();
gallery.attr("data-fancybox","gallery"); */
/* $().fancybox({
selector : '.alignnone a:visible'
}); */
jQuery("a.fancybox").fancybox({
'loop': false,
'margin': [44, 0],
'gutter': 50,
'keyboard': true,
'arrows': true,
'infobar': false,
'toolbar': true,
'buttons': ["slideShow", "fullScreen", "thumbs", "close"],
'idleTime': 4,
'protect': false,
'modal': false,
'animationEffect': "zoom",
'animationDuration': 350,
'transitionEffect': "fade",
'transitionDuration': 350,
});
});
Nice how so many of the colours are corresponding as well as the lights and reflections are. Or contrasting. That’s to the interpretion.
Such images of intermingled situations could easily become a new field of interest. It’s exactly that contrasting/corresponding thing that I find arresting in such sceneries.