Hello,
I am a bit new to Powerapps and I have 2 questions regarding collections to store images.
I have a checklist and i need only to store the image IF the checkbox is activated.
Currently i am using the camera control and storing the image in the image control.

Collect(ColImage,
{
File: DataCardValue36.Image, Name: TextInput3.Text,
File2: DataCardValue36_1.Image, Name2: TextInput3_1.Text,
File3: DataCardValue36_2.Image, Name3: TextInput3_2.Text,
File4: DataCardValue36_3.Image, Name4: TextInput3_3.Text,
File5: DataCardValue36_4.Image, Name5: TextInput3_4.Text,
File6: DataCardValue36_5.Image, Name6: TextInput3_5.Text,
File7: DataCardValue36_6.Image, Name7: TextInput3_6.Text,
File8: DataCardValue36_7.Image, Name8: TextInput3_7.Text,
File9: DataCardValue36_8.Image, Name9: TextInput3_8.Text,
File10: DataCardValue36_9.Image, Name10: TextInput3_9.Text
}
);
First question is how to include the IF inside the above syntax so as to store the image ONLY when the checkbox is activated.
My second question is regarding the image being stored - the last image always remains - how do we "initialise" this image control when the form is loaded for example?
Thanks,
Arshad