Photo controller