# Enterprise Search Not Grabbing Product Images From Shopify Product Page

**URL:** <https://discuss.elastic.co/t/enterprise-search-not-grabbing-product-images-from-shopify-product-page/299105>\
**Category:** Elastic Search\
**Created:** [March 8, 2022, 2:19pm UTC](https://discuss.elastic.co/t/enterprise-search-not-grabbing-product-images-from-shopify-product-page/299105 "2022-03-08T14:19:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thahunt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thahunt/32/98994_2.png) [@thahunt](https://discuss.elastic.co/u/thahunt)\
**Post date:** [March 8, 2022, 2:19pm UTC](https://discuss.elastic.co/t/enterprise-search-not-grabbing-product-images-from-shopify-product-page/299105/1 "2022-03-08T14:19:12Z")

</div>

Upon first ingestion, a default **text** based schema was created for me.

I need to create a custom schema for the web crawler to index.

The default index did a good job but it did not grab the product image, which is pretty critical for me to launch.

I want to grab the product image from [here](https://www.a-ma-maniere.com/collections/junya-watanabe/products/junta-watanabe-jw-blouson-blu), but the href for the images does not contain the website domain it is a CDN link. How can I change the configuration rules to pick grab this link?

---

<div class="post-metadata">

**Author:** ![Carlos\_D](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_d/32/126245_2.png) [@Carlos\_D](https://discuss.elastic.co/u/Carlos_D)\
**Post date:** [March 29, 2022, 10:24am UTC](https://discuss.elastic.co/t/enterprise-search-not-grabbing-product-images-from-shopify-product-page/299105/2 "2022-03-29T10:24:46Z")

</div>

Hi @thahunt ! Welcome to the Community!

The best option for retrieving a specific field is using [meta tags and content extraction](https://www.elastic.co/guide/en/app-search/8.1/web-crawler-reference.html#web-crawler-reference-meta-tags-content-extraction). They both require to modify the page HTML in order for the crawler to find the specific field.

Basically, you can either:

1. Add a meta tag to the `head` section of the pages:

```auto
<head>
  <meta class="elastic" name="image_url" content="//cdn.shopify.com/s/files/1/0626/9065/products/WH-J914-100-1-BLU_1.jpg?v=1638198344"">
</head>

```

1. Add a hidden element next to the image tag:

```auto
<img data-elastic-name="image_url" src="//cdn.shopify.com/s/files/1/0626/9065/products/WH-J914-100-1-BLU_1.jpg?v=1638198344" alt="BLOUSON VARSITY JACKET" loading="lazy">
<div style="display: none;" data-elastic-name="image_url">//cdn.shopify.com/s/files/1/0626/9065/products/WH-J914-100-1-BLU_1.jpg?v=1638198344" alt="BLOUSON VARSITY JACKET</div>

```

Modifying the page and adding meta tags or attributes allow the Crawler to index the specific fields you need.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 26, 2022, 10:25am UTC](https://discuss.elastic.co/t/enterprise-search-not-grabbing-product-images-from-shopify-product-page/299105/3 "2022-04-26T10:25:20Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
