Try Yii2 in one click with Vagrant VM + Ansible provisioning

See all details in my previous post.. All software you wanted to try with Yii2 installed and provisioned out of the box.
In two words :
"Try Yii2" provides you with Vagrant file and Ansible provsioning scripts. Vagrant will launch the VirtualBox VM, download OS image, deploy it and then run Ansible. It will set up all needed software inside Linux VM, clone Yii2 project, download test DB and connect it with project. Also Vagrant will modify you hosts file and assign special local domain adresses with VM IP address, so you will be able to access test Yii2 prject by humanreadable local domain name. All these steps will be made completely automatically, just run vagrant up and wait !

After you call $bundle = YourAssetBundle::register($this);, you can use $bundle->baseUrl and prefix it to the image path in the image tag. Yii won't do automatic replacement like you said.
Unless you are developing an extension, you normally don't need to put images in an asset bundle. You should directly put them under Web accessible folders.