what is the right way to apply lightbox to this php code?
$output_content.= "<div id=\"slide\" class=\"4u 6u(medium)\"><a href=\"$script_url/$cam_dir$prefix$k.$ext\">
<img border=\"0\" src=\"$image_url_path/$prefix$k-thm.$ext?dontcache=".time()."\" alt=\"$cam_title - $timestat\" title=\" $cam_title - $timestat \" /></a><br />
<small>$timestat</small></div>";