I am using a Wordpress theme and changing the pretty photo to lightbox for my gallery, not sure what am I doing wrong. I changed the rel=prettyPhoto to class=lightbox. Thought maybe someone would know what I am missing. I am so close, or I think I am at least ha.
Orginal Code using prettyPhoto
//output div and image in it echo '<div class="pictures_entry">'; echo '<a href="'.$attachments[$i]["location"].'" title="'.$attachments[$i]["title"].'" rel="prettyPhoto[gallery]"><img src="'.$attachments[$i]["location"].'" width="200" height="120" alt="'.get_the_title().'" />'; echo '</div>';
New Code using lightbox
//output div and image in it echo '<div class="pictures_entry">'; echo '<a href="'.$attachments[$i]["location"].'" title="'.$attachments[$i]["title"].'" class="lightbox"[gallery link="location"]><img src="'.get_bloginfo('template_directory').'/includes/timthumb.php?src='.$attachments[$i]["location"].'" width="200" height="120" alt="'.get_the_title().'" />'; echo '</div>';