Recipe - Food - Nutrition

FREEMIUM
Verified
By David | Updated 4일 전 | Food
Popularity

9.9 / 10

Latency

536ms

Service Level

100%

Health Check

N/A

Back to All Discussions

How to get full image url for ingredient

Rapid account: Endlessstomach

In the Get Food Information endpoint, spoonacular returns an image field with a url as the value, but the url isn’t complete (for pineapple its just pineapple.jpg instead of https://www.spoonacular.com/whatever/pineapple.jpg) What url/address do we use to get these images?

Rapid account: Rylldevelop
rylldevelop Commented 3년 전

Thanks for this; very helpful.

Rapid account: Spoonacular
spoonacular Commented 7년 전

Thanks for helping out dmlcn6. Here’s more information: https://spoonacular.com/food-api/docs/show-images

Rapid account: Dmlcn 6
dmlcn6 Commented 7년 전

<p> Hi endlessstomach, <br>
<br>
I was able to produce your pineapple.jpg thumbnail by using this full URL <a href=“https://spoonacular.com/cdn/ingredients_100x100/pineapple.jpg”> https://spoonacular.com/cdn/ingredients_100x100/pineapple.jpg </a>
<br>
<br> Happy Coding </p>

Join in the discussion - add comment below:

Login / Signup to post new comments