I'm trying to add an image from my theme in template like
<img src="<?php echo $this->getViewFileUrl('Vendor_Theme::images/image.svg'); ?>" />
But this url adds en_us. How can I remove it?
It is normal behavior.
During deployment static content all files from directories like
Vendor/Module/view/frontend/web will be copied to
After that static content will be available for loading by client side (your browser for example).