Default to image gif instead of json