el problema debe de ser las comillas simples en 'foto' y en 'titulo'
prueba así
Código PHP:
<a href="../popup/?foto=../fotos/<? echo($row['foto']); ?>" onClick="flvFPW1(this.href,'popup','width=320,height=324',1,2,2);return document.MM_returnValue"><img src="../fotos/<? echo($row['foto']); ?>" width="80" height="80" hspace="3" border="0" alt="<? row['titulo'];?>"></a>
saludos