Use eZSys::serverURL to properly generate image links