First off I love the site and it has been very helpful.
Im trying to create a script where the script will take an predetermined image and create an imagePlane. From reading over previous posts I have found code to make the plane:
createNode "imagePlane";
connectAttr imagePlane1.message cameraName.imagePlane;
But have not found any info on attaching a specific file. I've been searching around for an answer on this for a while. Any idea? Lets say the image location is represented by the variable $imageLocation. Many thanks for any help.