Categories
photos

Float pile

A colorful collection of fishing floats in my parents’ yard.

Categories
photos

Dogwood

Another nice tree in our yard – this dogwood’s got pretty white flowers in the spring and the leaves turn this fiery mottled red and yellow in the fall.

Categories
General

Photopress and Lightbox 2

Thanks to Steven for telling me about this issue!

Lightbox 2 has a cool feature where it’ll automagically add code to images in your posts so they’ll work with Lightbox. This is great until it runs into the Photopress album and breaks stuff. To fix this easily, you can turn off the auto-lightbox feature in the Lightbox 2 settings. But what if you like auto-lightboxing?

The function that does auto-lightboxing is around line 60 of lightbox2.php. Adding this “if” to detect the Photopress album (actually “pp_wrap”) and avoid auto-lightboxing seems to do the trick:

function autoexpand_rel_wlightbox ($content) {
/*add this--->*/ if ( strstr($content, 'pp_wrap') ) { return $content; }

Of course, then you’d need to re-do this hack every time you upgrade Lightbox 2…

Categories
photos

Tiny empty

The Potomac along Hains Point floods now and then, washing up all sorts of interesting stuff…like this tiny bottle.

Categories
photos

Oscar takes a break

Our cats grew up in an apartment so they’re mostly indoor kitties, but in the summer we let them wander around the backyard while we watch, keeping them from eating birds or doing other goofy things. Oscar usually gets bored after a while and comes back to the deck to lay on this foot stool.