fixes #6381 - properly calculate pxe image urls when using content
refs #6381 - changing validate_media? override to alias chain

also removing the use of eval