It appears the computed image resource doesn't like implied text construction, I tried to do exactly as you building the image string and it kept failing until I did this:
@Text(@GetField("from") + ".jpg")
I used a combo box "from" to test with "refresh on keyword change" to simulate a new value. The images changed beautifully and the resource was selected from a different database.
One thing to watch for, that I was unaware of, is if you create an image resource and import a .bmp (bitmap) image, it's changed to an .jpg. This could mess you up by trying to reference a non existing image.
In short, a computed image resource from a different database will work.