Makes photos polymorphic and adds them to communities