I will keep working on it and i will post the code that i have when get something working a little better and see if anyone has any suggestions to it.
This code is located in the root/inc/design.inc.php from starting at line 774 to 804.
if ($aSexSql['Couple'] > 0) {
$aCoupleInfo = getProfileInfo( (int)$aSexSql['Couple'] );
//$oPhoto = new ProfilePhotos( $aCoupleInfo['ID'] );
$aCoupleFile = $oPhoto -> getPrimaryPhotoArray($aCoupleInfo['PrimPhoto']);
//--------------------------
if( extFileExists( $oPhoto -> sMediaDir . 'thumb_' . $aCoupleFile['med_file'] ) && $aCoupleInfo 'PrimPhoto']>0 ) $sCplFileName = $oPhoto -> sMediaUrl . 'thumb_' . $aCoupleFile['med_file'];
else
{
if( $aCoupleInfo['Sex'] == 'female' or $aCoupleInfo['Sex'] == 'Female' )
$sSexPic = 'couple_medium.gif';
elseif( $aCoupleInfo['Sex'] == 'male' or $aCoupleInfo['Sex'] == 'Male' )
$sSexPic = 'couple_medium.gif';
else
$sSexPic = 'visitor_medium.gif';
$sCplFileName = getTemplateIcon( $sSexPic );
}
//--------------------------
$sCplStyle =
'width:' . $oPhoto -> aMediaConfig['size']['thumbWidth'] . 'px;' .
'height:' . $oPhoto -> aMediaConfig['size']['thumbHeight'] . 'px;' .
'background-image:url(' . $sCplFileName . ');';
$sCoupleImgEl = '<div class="thumbnail_block" style="float:' . $float . '; '.$sMarginsRCAddon.' ">';
/*$sCplMarginsAddon = " margin-right:10px;margin-bottom:10px; ";
$sCoupleImgEl = '<img src="' . getTemplateIcon( 'spacer.gif' ) . '" style="' . $sCplMarginsAddon . $sCplStyle . '" alt="' . process_line_output( $aFileName['med_title'] ) . '" />';
$sMarginsAddon = ($bDrawMargin) ? " margin-right:10px;margin-bottom:10px; " : '';
//$sMarginsRCAddon = ($bDrawMargin) ? " margin-right:10px; " : '';*/
}
This a my test site : http://ace-space.com/test and you can see the problem I am having right now with the spacing and the online/offline graphic. And I am still working on getting it to default to the couple_medium.gif image rather the male or female default image.
Hope this isn't too confusing :)
Thanx