# JSON検索結果にimage\_urlを表示する

**URL:** <https://meta.discourse.org/t/display-image-url-in-the-json-search-results/171605>\
**Category:** Product Support\
**Created:** [2020 年 11 月 29 日午前 4:04 UTC](https://meta.discourse.org/t/display-image-url-in-the-json-search-results/171605 "2020-11-29T04:04:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Bcat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bcat/32/163148_2.png) [@Bcat](https://meta.discourse.org/u/Bcat)\
**Post date:** [2020 年 11 月 30 日午前 6:40 UTC](https://meta.discourse.org/t/display-image-url-in-the-json-search-results/171605/4 "2020-11-30T06:40:49Z")

</div>

クエリで json を使用する場合、category、tag、top、newest のすべてに `image_url` が含まれます。  
しかし、search では `image_url` が含まれません。

現在、リスト（10 トピック）を取得するために 1 回の JSON クエリを実行し、その後、画像を取得するために 10 回のクエリを実行しています。  
合計でサーバーへのクエリは 11 回になります。

---

_[View the full topic](https://meta.discourse.org/t/display-image-url-in-the-json-search-results/171605)._
