Category Archives: add-rel-lightbox

add_rel_lightbox version 0.4.1

Upgrade from your WordPress admin panel, or download from wordpress.org/extend/plugins/add-rel-lightbox/ When I moved add-rel-lightbox across to using Simple DOM Parser in place of the regex controlled for version 0.4, I had a little problem with the pre-release code stripping line breaks from every post that, although it didn’t cause a display problem by it’s self, […]

Tagged , | Leave a comment | Short URL: http://def-proc.co.uk/b/hzkfd

add-rel-lightbox Version 0.4 Released

Upgrade from your WordPress admin panel, or download from wordpress.org/extend/plugins/add-rel-lightbox/ Version 0.4 switches from identifing the link-wrapped images in a page with hacked-together regexes that just about work, to properly parsed HTML structure using PHP Simple HTML DOM Parser. When I initially tried to release version 0.4 and installed the updated plugin on this site, […]

Also posted in Wordpress | Tagged , | Leave a comment | Short URL: http://def-proc.co.uk/b/nkfqv

add-rel-lightbox now using Simple HTML DOM

When I first mashed together add-rel-lightbox, I used regular expressions to control and replace the relevent parts. This was my fault. Regexes were the only tool I had. It was a bad thing. Parsing HTML with regex is wrong. […]using regex to parse HTML has doomed humanity to an eternity of dread torture and security […]

Tagged , , | Leave a comment | Short URL: http://def-proc.co.uk/b/uqfrw

add-rel-lightbox version 0.3

New for version 0.3: Adjusted the filter hook priority so it uses the core shortcode function. Also works with the_extract() e.g. on front page and category listings. All images and gallery form one linked gallery per post/page. Search for “add-rel-lightbox” from your WordPress installation or download the source from: wordpress.org/extend/plugins/add-rel-lightbox/ github.com/DefProc/add-rel-lightbox Where version 0.2 added […]

Also posted in Wordpress | Leave a comment | Short URL: http://def-proc.co.uk/b/ijzhs

add-rel-lightbox version 0.2

New for version 0.2, the plugin will now also add the lightbox attribute and caption to image linked galleries using the [gallery link=”file”] shortcode. add-rel-lightbox is a WordPress plugin that will automatically add a rel=”lightbox” attribute and the image appropriate description from the media library to link-wrapped images placed in WordPress posts. Previously, the plugin […]

Also posted in Wordpress | Leave a comment | Short URL: http://def-proc.co.uk/b/rosdq

add-rel-lightbox now available as WP plugin

add-rel-lightbox, the code discussed in this post is now available in the WordPress Plugin Directory. This means that you can install it in your WordPress site by searching for “add-rel-lightbox” in the `Plugins -> Add New` page of your site administration. The code is also hosted at github (github.com/DefProc/add-rel-lightbox/) for you to pull, fork, alter […]

Also posted in Wordpress | Leave a comment | Short URL: http://def-proc.co.uk/b/xizrn

Add rel=”lightbox” to WordPress Images

Now a WordPress Plugin, see the most recent version releses: Category > add-rel-lightbox I really like the pop-up display style of lightbox and slimbox, and WordPress has a really nice integration for adding pictures, but the two don’t talk to each other automatically. Getting images insterted from the WordPress media dialogue has a few requirements: […]

Also posted in Wordpress | 14 Comments | Short URL: http://def-proc.co.uk/b/matgf