https://www.icyphoenix.com/viewtopic.php?f=26&t=2066&p=14830#p14830 ----------------------------------- newguy78 Wed 23 May, 2007 18:11 FAP CUSTOMIZATION - Trying To Get Rid Of The Border Around My Thumbs ----------------------------------- With some help, I was able to display some random photos from my photo album onto my home page outside of the phpbb root dir. I have a slight problem with the blue border that surrounds the thumbnails, and I need some help removing the border. I was told that I need to insert [code]border="0"[/code] into the code but I don't know exactly where to place it. My code looks like this [code]"; print "". $lang['Random_Pics'] .""; print ""; for ($i=0;$i<3;$i++) //set number of pictures for the displayed line { while ($cat['cat_view_level'] != '-1') { $sql = "SELECT pic_id, pic_desc, pic_cat_id FROM ". ALBUM_TABLE ." ORDER BY RAND() LIMIT 1"; $result = $db->sql_query($sql) or die ("SQL Error"); $row = $db->sql_fetchrow($result); $sql = "SELECT * FROM ". ALBUM_CAT_TABLE ." WHERE cat_id = '". $row['pic_cat_id'] ."'"; $result = $db->sql_query($sql) or die ("SQL Error"); $cat = $db->sql_fetchrow($result); } $cat['cat_view_level'] = '0'; print "
" . $row['pic_title'] . "
" . $row[
"; } print ""; print ""; print ""; print ""; for ($i=0;$i<3;$i++) //set number of pictures for the displayed line { while ($cat['cat_view_level'] != '-1') { $sql = "SELECT pic_id, pic_desc, pic_cat_id FROM ". ALBUM_TABLE ." ORDER BY RAND() LIMIT 1"; $result = $db->sql_query($sql) or die ("SQL Error"); $row = $db->sql_fetchrow($result); $sql = "SELECT * FROM ". ALBUM_CAT_TABLE ." WHERE cat_id = '". $row['pic_cat_id'] ."'"; $result = $db->sql_query($sql) or die ("SQL Error"); $cat = $db->sql_fetchrow($result); } $cat['cat_view_level'] = '0'; print ""; } print ""; print "
" . $row['pic_title'] . "
" . $row[
"; ?> [/code] I would greatly appreciate any help solving this problem. Thank you