seems the portrait code was copied over from the acs-subsite community member page, however, they forgot to change the relative url in the links to the portrait and portrait-bits pages. Fixed that by using absolute URIs to those pages under the main site (prefixing with /shared/).