You need to make these changes so the photos show correctly on the search_result (both standard and gallary view).
(note: some of the line numbers may be different between v3.1 and v3.2 - look carefully in your code - and you should be able to find the code snips. Pay attention to the { and } characters also, depending on your version of aeDating, you may or not need all the } shown below. 
search_result.php
function PageCompGallery ( )
Code:
around line 669
else
{
$sex_pic = $p_arr[Sex] == 'female' ? 'woman.gif' : 'man.gif';
$out .= "$ID_PIC_URL$sex_pic";
}
}
replace with
else
{
if ( $p_arr[Sex] == 'female' ) {
$sex_pic = 'woman.gif';
$out .= "$ID_PIC_URL$sex_pic";
}
elseif ( $p_arr[Sex] == 'male' ) {
$sex_pic = 'man.gif';
$out .= "$ID_PIC_URL$sex_pic";
}
else {
$sex_pic = 'couple.gif';
$out .= "$ID_PIC_URL$sex_pic";
}
}
}
members.inc.php
function PrintSearhResult
Code:
around line 219
else
{
$sex_pic = $p_arr[Sex] == 'female' ? 'woman.gif' : 'man.gif';
$thumbnail .= "$ID_PIC_URL$sex_pic";
}
}
replace with
else
{
if ( $p_arr[Sex] == 'female' ) {
$sex_pic = 'woman.gif';
$thumbnail .= "$ID_PIC_URL$sex_pic";
}
elseif ( $p_arr[Sex] == 'male' ) {
$sex_pic = 'man.gif';
$thumbnail .= "$ID_PIC_URL$sex_pic";
}
else {
$sex_pic = 'couple.gif';
$thumbnail .= "$ID_PIC_URL$sex_pic";
}
}
}
Bookmarks