cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Pictures Not Collecting/Displaying Properly

I'm having a strange issue with the camera/image features in my apps.

 

I have two apps with camera controls and galleries to display their images. They are both set up identically, with the OnSelect property of the camera control set to 

Collect(Pictures, Camera1.Photo)

On the same screen in both apps, there is a gallery with the items set to Pictures and an image with the Image property set to ThisItem.Url.

 

In one app, the control works perfectly, collecting pictures and displaying them in the gallery. In the other, the collection gets bigger and a scroll bar shows in the gallery when I take enough pictures, but they are all completely blank.

 

I have tried this several times in several different apps, all exactly identical, and it seems to be completely random if the control works properly or not. All tested across multiple devices (my computer, two different android devices, and one iPhone) and not working properly as well.

 

In the middle of writing this post, I went back to test the camera control that wasn't working properly. It worked once, but "takes" the exact same picture each time.

 

Is anyone else having this issue? What's wrong with the camera control in PowerApps?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Pictures Not Collecting/Displaying Properly

Hi @Anonymous ,

Based on the issue that you mentioned, I think there is something wrong with your operation.

 

If you want to capture the image taken via the "Camera" control, please type your formula within the OnSelect property of the Camera control rather than add another button/icon to collect the captured images from Camera control.

 

If you type the Collect(..) formula within the OnSelect property of the another "Button"/"Icon", when you press the Icon, it would save a blank image into your Pictures collection.

 

Please also check and see if the following thread would also help in your scenario:

https://powerusers.microsoft.com/t5/General-Discussion/Camera-images-not-displaying-in-collection-Collection-only/m-p/304277

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Anonymous
Not applicable

Re: Pictures Not Collecting/Displaying Properly

It appears this is caused when there is an icon with the OnSelect property set to collect the picture from the camera on the screen with the camera. Selecting the icon once will break the control until you delete it and reinsert all controls/media and rename your collections. Even setting the OnSelect property of the icon to Select(Camera1) does not work.

Highlighted
Community Support
Community Support

Re: Pictures Not Collecting/Displaying Properly

Hi @Anonymous ,

Based on the issue that you mentioned, I think there is something wrong with your operation.

 

If you want to capture the image taken via the "Camera" control, please type your formula within the OnSelect property of the Camera control rather than add another button/icon to collect the captured images from Camera control.

 

If you type the Collect(..) formula within the OnSelect property of the another "Button"/"Icon", when you press the Icon, it would save a blank image into your Pictures collection.

 

Please also check and see if the following thread would also help in your scenario:

https://powerusers.microsoft.com/t5/General-Discussion/Camera-images-not-displaying-in-collection-Collection-only/m-p/304277

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (5,441)