Another way to say "photos can record weddings" is "you can record weddings by using photos."