I read the documentation on the OrgChartPortlet and the ability to display
images that are stored outside your IDV. I did exactly what the doc says
replacing the $[[UserPhoto]] reference with
$[[IMG:"http://myhost/"+lastname+".jpg"]] but when I view my Org Chart I
get "An error occurred processing the request".

If I change the above to $[[IMG:"http://myhost/exactfilename.jpg"]] then
it does display the image referenced.

The Lastname key is set up in my DAL and it is being used else where in
the User App.

Can someone point me to where I'm going wrong?