prevent non server image paths from throwing notice errors