Hi Leslie,
You can use a script like this to assign an image to an object. This script will take the content of the text object (the one you're Datalinq'd to) add .png to the end of it, retrieve the image from C:Images and assign it to a material shader.
Dim PicFile As xpTextObject
Dim Pic As xpBaseObject
Dim PicMat As xpMaterial
Dim PicShader As xpBaseShader
Dim FilePath As String
Self.GetObjectByName("Image Name", PicFile)
FilePath = "C:Images" & PicFile.Text & ".png"
Self.GetObjectByName("Picture", Pic)
Pic.GetMaterial(0, PicMat)
PicMat.GetShader(0, PicShader)
PicShader.SetFileName(FilePath)
#XPression