ive downloaded a javascript gallery window called facybox: http://bitbonsai.com/facybox/
I've followed the tutorial and now i'm trying to get my photo's to open in this but instead the images are just opening in a new window.
can someone correct me where i'm going wrong please? I suspect i'm missing a vital component somewhere that points it to the facybox directory but i've tried a couple things and no luck.
<?php
$get_photos_set = get_photos();
while ($photos = mysql_fetch_array($get_photos_set)) {
if(!isset($get_photos_set) || $get_photos_set===false)
echo "No Results";
else
if (logged_in()) {
echo
"<li><a href=\"data/photos/{$photos['user_id']}/{$photos['file_name']}\" rel=\"assets/js/photo_box/facybox.js\"><img src=\"data/photos/{$photos['user_id']}/thumb_{$photos['file_name']}\" alt=\"{$profile[2]}'s Photos\" /></a></li>";
}
}
?>