Updated image block to only display if image is present