Missing products images

We are using some external plugins, when we read the data that comes from the plugins in Twig, it misses the Media for the product which is null, they provide only coverId.
Is it possible to retrieve product’s images using coverId or using other ways?

Another question: Can we somehow inherit from an existing plugin in order to do some changes?