Fix calls to /undefined

Articles without image cause a 404 for the background image /undefined

Only set the background if there's an image