markdown image link returns empty string if image not found