QUOTE(kurokawa)
I am attempting to center a 128x128 .jpg image inside a -wh 200 550 horizontally. There seems to be no align flag for the image command, and for some reason columnLayout is not aligning
CODE
columnLayout -rs 2 -cal "center";
Since you know the size of the window and the size of the image, I would just use a formLayout and position the image manually:
CODE
formLayout myForm;
.
.
.
formLayout -e -af thumbNail left 36 myForm;
QUOTE(kurokawa)
My second related issue to the image command is that it is not outputing the desired .jpg (I get a big grey block of ugliness)
CODE
string $iconsDirectory = internalVar -usd
+ "Mariontte/icons";
image -w 128 -h 128 -image "$iconsDirectory + \"marionetteIcon.jpg\"" thumbNail;
You need to put a slash between "icons" and the name of the image. You also need to pass the path to the image as a concatenation of $iconsDirectory and the literal "marionetteIcon.jpg", not as a directive to concatenate the string:
CODE
string $iconsDirectory = internalVar -usd
+ "Mariontte/icons/";
image -w 128 -h 128 -image ($iconsDirectory + "marionetteIcon.jpg") thumbNail;