I am loading an unmananged image file and would like to render it in a block, but it should be linked. I have an uri (public://...) and I am able to render the image using
$build['my_image'] = [ '#theme' => 'image_style', '#style_name' => 'large', '#uri' => $uri, ];
This works, but how can I render it beeing linked to some url?