Some other users have noted that (large) vertical photos break the lightbox. I can understand that limitation. I would like a solution to deactivate the lightbox for vertical photos. I tried creating a quick javascript solution to disable the lightbox.
// Kill Lightbox on vertical images
if ($('.slideshow').height() > 600) {
$('.slideshow a').attr('rel', '');
}
});
Unfortunately, because the photos have the (nice) effect of fading and scaling on page load, they slideshow actually has a height of 0 when the page loads and my script runs.
Is there a simpler solution I don't know of for adding a class or killing the rel attribute on vertical photos?
Thanks














