ok on my site i have tabs to show the photos.....
but this is my code:
PHP Code:
function SelectedImage()
{
global $profileID;
global $dir;
global $site;
$Image_Query = "SELECT * FROM `media` WHERE `med_prof_id` = '{$profileID}' limit 14";
$Image_display = db_res( $Image_Query );
while ($Images_return = mysql_fetch_assoc($Image_display))
{
$startIMageFile = '' . $dir['profileImage'] . '/'. $profileID . '/icon_' . $Images_return['med_file'] .'';
$startIMageURL = '' . $site['profileImage'] . '/'. $profileID . '/icon_' . $Images_return['med_file'] .'';
$ThumbID = $Images_return['med_id'];
$Thumbnail_links = file_exists($startIMageFile);
if ($Thumbnail_links)
{
$Image_src = $startIMageURL;
$ret .= '
<div class="MiniImage">
<a href="home/?pageaction=User_pix&ID=' . $profileID . '&med_id=' . $Images_return['med_id'] . '">
<img src="' . $Image_src .'" alt="Member thumb"/>
</a>
</div>
';
}
else
$ret .= '<div style="width:45px;height:45px;background-color:#ffffff;>blank</div>';
}
return $ret;
}
you can configure this to meet your needs
this is for dolphin 5.6+
Bookmarks