How do I reference a variable/expression inside an expression in twig templating?
With Twig, you'll never need to nest tags within other tags. In fact, it's impossible to do.

You can simply pass your variable into getUrl instead of using a string.

&lt;img src="{{ asset.getUrl(entry.newsImageSize) }}"&gt;