I’m using Fancybox as a lightbox on this site, which was working fine for individual images. But when I posted the gallery of three images in my previous post, I realised the images weren’t linked together in a gallery in a way Fancybox understood. What’s needed is the rel attribute, and a quick google showed loads of people suggesting the same snippet to add to the functions.php file:

 * Give a rel attribute to all gallery images in a post
function st_add_rel_attribute( $link ) {
    return str_replace( '<a href', '<a rel="st-gallery" href', $link );
add_filter( 'wp_get_attachment_link', 'st_add_rel_attribute' );
Read More →

I entered these in my local camera club competition – theme “Water”. The one I liked the most (Icy stream) did worst, and the one I liked the least (Leaping Pebbles) did best, winning in fact. Shows what I know.

Just finished reading The Year without Pants by Scott Berkun, which is about his 2 year tenure at Automattic working for WordPress.com. Inspiring and worth a look, but not what I’m here to say.

Unusually for me, because it was borrowed from a friend, the book was in traditional paper form instead of downloaded to my Kindle. I love the convenience of the Kindle, but I do get it when people say to me, “It’s just not the same – I need the feel of the paper”. And as a slight aside, before my main point, I have found I need the location feature turned on when reading my Kindle. I am disconcerted that I don’t know how far I am through the book. With the paper version, I know instinctively because of the size of the wedges of paper either side of my thumb. Not so with an e-reader, and it turns out I like to know where I am in the story arc.

Read More →