# In Pega mobile how to upload an image only using camera

**URL:** <https://forums.pega.com/t/in-pega-mobile-how-to-upload-an-image-only-using-camera/3311>\
**Category:** General\
**Tags:** mobile, financial-services\
**Created:** [October 4, 2022, 5:19pm UTC](https://forums.pega.com/t/in-pega-mobile-how-to-upload-an-image-only-using-camera/3311 "2022-10-04T17:19:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShashikaPriyankara](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@ShashikaPriyankara](https://forums.pega.com/u/ShashikaPriyankara)\
**Post date:** [October 4, 2022, 5:19pm UTC](https://forums.pega.com/t/in-pega-mobile-how-to-upload-an-image-only-using-camera/3311/1 "2022-10-04T17:19:33Z")

</div>

Using Pega mobile can we full fill the below requirement?

Upload image only using camera. when user click on the upload image button, it will open the camera and when user capture the image then should upload but need to restrict upload old image by go through gallery or files.

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [October 5, 2022, 9:38am UTC](https://forums.pega.com/t/in-pega-mobile-how-to-upload-an-image-only-using-camera/3311/2 "2022-10-05T09:38:38Z")

</div>

@ShashikaPriyankara does the answer in this previous post [Capturing the image instantly from camera](https://support.pega.com/question/capturing-image-instantly-camera)help answer your question?

---

<div class="post-metadata">

**Author:** ![ShashikaPriyankara](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@ShashikaPriyankara](https://forums.pega.com/u/ShashikaPriyankara)\
**Post date:** [October 5, 2022, 12:30pm UTC](https://forums.pega.com/t/in-pega-mobile-how-to-upload-an-image-only-using-camera/3311/3 "2022-10-05T12:30:42Z")

</div>

@MarijeSchillern We checked this post but its not working. every time its displaying like this in pega mobile app.

 ![Upload.jpg](https://pega1.discourse-cdn.com/pega/original/2X/9/96a5419dc1a108f7ccd9985171d931604924215a.jpeg)

How to remove “Select Photo,Record Video,Browse” options from the list which is appear when click upload button on pega mobile.

---

<div class="post-metadata">

**Author:** ![Mateusz](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/mateusz/32/11426_2.png) [@Mateusz](https://forums.pega.com/u/Mateusz)\
**Post date:** [October 10, 2022, 12:25pm UTC](https://forums.pega.com/t/in-pega-mobile-how-to-upload-an-image-only-using-camera/3311/4 "2022-10-10T12:25:38Z")

</div>

Hello @ShashikaPriyankara,

As of Pega 8.8, such configuration is not exposed to application developers. End-users need to be aware of what type of file is expected and carefully pick one of the options

---

<div class="post-metadata">

**Author:** ![RahulKakunuru](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rahulkakunuru/32/10670_2.png) [@RahulKakunuru](https://forums.pega.com/u/RahulKakunuru)\
**Post date:** [August 13, 2023, 5:12pm UTC](https://forums.pega.com/t/in-pega-mobile-how-to-upload-an-image-only-using-camera/3311/5 "2023-08-13T17:12:11Z")

</div>

@ShashikaPriyankara

Did you find anyway to do this.

---

<div class="post-metadata">

**Author:** ![AtanuRoy14](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/atanuroy14/32/12934_2.png) [@AtanuRoy14](https://forums.pega.com/u/AtanuRoy14)\
**Post date:** [March 7, 2024, 3:04pm UTC](https://forums.pega.com/t/in-pega-mobile-how-to-upload-an-image-only-using-camera/3311/6 "2024-03-07T15:04:50Z")

</div>

@Mateusz

Hi @Mateusz , we are facing the same issue and desperately looking for a solution. Can you please guide us on this to tackle it in a different way and not using pyAttachContent control.

atanu
