# Which is the best option for upload photo images and search?

**URL:** <https://discuss.elastic.co/t/which-is-the-best-option-for-upload-photo-images-and-search/261194>\
**Category:** Elasticsearch\
**Created:** [January 14, 2021, 11:46pm UTC](https://discuss.elastic.co/t/which-is-the-best-option-for-upload-photo-images-and-search/261194 "2021-01-14T23:46:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajends1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajends1/32/81884_2.png) [@rajends1](https://discuss.elastic.co/u/rajends1)\
**Post date:** [January 14, 2021, 11:46pm UTC](https://discuss.elastic.co/t/which-is-the-best-option-for-upload-photo-images-and-search/261194/1 "2021-01-14T23:46:31Z")

</div>

which is the best option for upload person profile photo images and search ?  
Three options of Implementation are

1. put image base64 (fig green circle) string data in dynamodb table as new field of type Map list for corresponding person id row field ) as stream into Elasticsearch

2. put image base64 (fig blue circle) ` ` string data in ES as new field of type as above for corresponding person id existing row field.

3. Store images in s3 (fig red circle) and put s3 image URL or base64 string data in dynamodb table as new field of type Map list for corresponding person id row field as stream into Elasticsearch  
Elastic Search new image index with following data

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/e/5e6786739931a907529969223d831f84021c4515.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/d/add945f3a1eb931499daf0dfbf500069a8f9b66c.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 14, 2021, 11:50pm UTC](https://discuss.elastic.co/t/which-is-the-best-option-for-upload-photo-images-and-search/261194/2 "2021-01-14T23:50:26Z")

</div>

Is this related to [What will be the mapping and DSL for creating a organisation employee profile user with maximum upload of 3 photos for storing and searching his photos please of image with timestamp](https://discuss.elastic.co/t/what-will-be-the-mapping-and-dsl-for-creating-a-organisation-employee-profile-user-with-maximum-upload-of-3-photos-for-storing-and-searching-his-photos-please-of-image-with-timestamp/260427), which has quite a few responses to the same question?

---

<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:** [February 11, 2021, 11:50pm UTC](https://discuss.elastic.co/t/which-is-the-best-option-for-upload-photo-images-and-search/261194/3 "2021-02-11T23:50:28Z")

</div>

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