Update image view on file name change

This is for #5672