Yes confirmed AppleTV2 displays photos from Aperture/iPhoto library on iMac.
Could use slideshow thereof, & it is also uploading recent photos from iPhone and displaying on AppleTV2 with Photostream via Homesharing & iCloud.
As you can view your music from iTunes on your AppleTV -
= Homesharing is enabled and working (for music)
= It is not a network problem
(Assume you know most/some of this already therefore ignore parts obvious only included for completeness)
On the AppleTV when you click "Computer" does it show Photos listed (as well as music movies tv shows podcasts iTunes u) when i click this it displays my photos as above.
There are very few settings :-
Open Aperture (on menu bar) Aperture / Prerferences / Photostream = check all 3 boxes (enable, auto import, auto upload)
On AppleTV2 - Settings / Computers = Homesharing enabled (shows Turn off Homesharing button & dialogue confirming same)
Open System Preferences (under Applelogo menu bar) :
Check iCloud button / settings enabled for Photostream with tick in checkbox and shows available storage
Check the adaptive firewall - is it on ->
Sytem Preferences / Security & Privacy button / Firewall
If so check advanced settings Add (+ button) -> iPhoto and make sure you change setting to "Allow incoming connections".
Check other port firewall in Server Admin is not blocking also if enabled try turning off & retest AppleTV2.
Perhaps list what you see on Apple TV if still not working when go to photos section and confirm above.