Skip to content
Bad Reichenhall, 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,
});
});
I love this photo…the lines, textures and light and with your keen eye and composition skills a city tree. Very smartly done, Markus!
Thanks, Earl. As we both know, these things do not always work. But it was astonishing for me to see my eye carving out sceneries from daily life and surroundings, that just ask to get transformed into an image.
Great photo! Love it!