Super Bene!
Bei meinem Statement hat die Sortierung nämlich auch nicht wirklich geklappt: Die unbewerteten Bilder kamen immer am Schluss.
So geht's jetzt:
select *, sum(votes.voting) as v from fotos
INNER join votes on fotos.id=votes.fid
group by fotos.id
UNION
select *, 0 as v from fotos
LEFT join votes on fotos.id=votes.fid
where votes.voting IS NULL
group by fotos.id
order by v desc
Vielen Dank nochmal,
Andreas