title: Automatically add rel="lightbox" AND sort some galleries
body: <p>I have a blogger (blogspot) page and am trying to utilise jquery-lightbox 0.5.  I've got it working, but would like to add some functionality.</p>
  
  <p>At the moment I have it so that all the images on one post are shown, though together album-like.  </p>
  
  <p>Using this script:</p>
  
  <pre><code>$(function() {
  $('a[href$=jpg], a[href$=JPG], a[href$=jpeg], a[href$=JPEG], a[href$=png], a[href$=gif], a[href$=bmp]:has(img)').lightBox();
  });
  </code></pre>
  
  <p>What I'd prefer is to have the images open as individual images (not grouped together), unless that is I manually add some sort of album id attribute.  What I'm thinking is that if I can automatically add rel="lightbox" to all images found on the page, AND then any images I'd like to collate together into albums would be under a manually added id="albumname".</p>
  
  <p>Any ideas, I can't even get rel="lightbox" appended automatically :(  I'm not great at this, so apologies.</p>
  
  <p>The page so far is at <a href="http://blog.talesfromthesaddle.com" rel="nofollow noreferrer">blog.talesfromthesaddle.com</a> though lightbox is set to only work on individual posts: eg <a href="http://blog.talesfromthesaddle.com/2012/12/bolivia-part-one-west.html" rel="nofollow noreferrer">http://blog.talesfromthesaddle.com/2012/12/bolivia-part-one-west.html</a></p>
  
  <p>I found some reasonable scripts here : <a href="https://stackoverflow.com/questions/2051294/making-jquery-lightbox-plugin-work-with-multiple-galleries">Making JQuery LightBox Plugin work with multiple galleries</a> but I'm a bit confused....</p>
  
  <p>Thanks for any help you can offer,
  Nick</p>