Dynamic open graph and twitter images in meta tags of topic page when image is not present in topic

The serializer is a response in JSON format for an API call. It won’t be used when generating a page’s HTML.

Those tags are using the TopicView model, so you’ll have to extend it using add_to_class instead of add_to_serializer.