web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / gallery is not showing...
Power Apps
Unanswered

gallery is not showing any images which is already exists in the collection

(0) ShareShare
ReportReport
Posted on by 121

Hi ,

 

I am loading images to a collection . Saving it offline . while binding the collection to gallery in the another screen ., it is not showing any images. Urls are there in the collection .

 

Collect(AnswerImages, {
ImageUrl:AddMediaButton2.Media,
});SaveData(AnswerImages,"AnswerImagesLocal")) 

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @gautmish,

     

    Could you please share a screenshot of your PowerApps app's configuration?

    Could you please share a bit more about the Gallery control within another screen?

    Further, do you use the LoadData() function to load the collection data within your another screen?

     

    I have made a test on my side and the images shows well. My PowerApps app's configuration as below:

    Screen1: 11.JPG

    The OnSelect property of Collect Button control set to following formula:

    Collect(AnswerImages,{ImageUrl:AddMediaButton1.Media});SaveData(AnswerImages,"AnswerImagesLocal")

    The OnSelect property of Next Screen Button control set to following formula:

    Navigate(Screen2,ScreenTransition.Fade);Clear(AnswerImages)

    Screen2:12.JPG

    14.JPG

     

    The OnVisible property of Screen 2 set to following formula:

    LoadData(AnswerImages,"AnswerImagesLocal")

     

    More details about SaveData() function and LoadData() function, please check the following article:

    SaveData and LoadData function in PowerApps

     

     

    Best regards,

    Kris

  • gautmish Profile Picture
    121 on at

    Hi @v-xida-msft,

     

    I am doing load data , but the issue is i have to clear the collection before loading it in next screen and take the value from savedata collection , As I am navigating to that screen multiple times . That time it is not working  . Any how i have replaced this add picture control will camera control as add picture control has multiple issues and a hot topic now .

     

    Let me replicate the issue and get back to you .

     

    Thanks

    Gautmish 

  • gautmish Profile Picture
    121 on at

    Hi @v-xida-msft

     

    Still issue exists .

     

    Screen1 :

     

    Onvisible : Clear(LocalImage);LoadData(LocalImage,"Imagelocal")

     

    Onselect (Add pic control) : Collect(LocalImage,{ImageUrl:AddMediaButton1.Media,title:"Image"&CountRows(LocalImage)+1&".jpg"});SaveData(LocalImage,"Imagelocal")

     

    Screen 2: 

     

    Onvisible : Clear(LocalImage);LoadData(LocalImage,"Imagelocal")

     

    Gallery data: LocalImage

     

    Still i am getting the issue . 

     

    Thanks

    Gautmish

  • gautmish Profile Picture
    121 on at

    Hi @v-xida-msft

     

    Did you get time to verify this issue . Could you please help on this .

     

    Thanks

    Gautmish

  • gautmish Profile Picture
    121 on at

    Hi @v-xida-msft,

     

    I am getting below error when trying that .

     

    Reporting the first one: the managed blob uri is not owned by current app's blobmanager

     

    @AllenKim could you please help on this . Photo upload is working now but another problem occured.

     

    Thanks

    gautmish

  • gautmish Profile Picture
    121 on at

    HI @v-xida-msft

     

    Did you get some time to check below issue . 

     

    Thanks

    Gautam Mishra

  • AllenKim Profile Picture
    on at

    Hi @gautmish,

     

    Thank you for the details of your app and its rules. I was able to reproduce the issue locally on my mobile device. I am also not seeing the saved images in the gallery in the second screen. If I take a photo, just this most recent one shows up correctly in the gallery. If I don't take a new photo and just go to the second screen, all images are empty/blank.

     

    Let me follow-up with some folks on my side to see if this is a current limitation or an issue.

     

    Thanks,

    Allen

  • gautmish Profile Picture
    121 on at

    Hi @AllenKim,

     

    Any update on this . this is the key feature of our application , so need to solve this soon .

     

    Please suggest.

     

    Thanks

    Gautmish

  • AllenKim Profile Picture
    on at

    Hi @gautmish,

     

    After discussing with some folks, it looks like saving and loading local images is not a fully supported scenario. Saved and loaded local images are only valid for the lifetime of the app instance. When you restart and app, any previously saved images become invalid. This is due to how we internally manage local images.

     

  • gautmish Profile Picture
    121 on at

    Hi @AllenKim,

     

    Is there any solution or can this be fixed soon ?? and same scenario is working for camera control . (As it is returning base64)

     

    Thanks

    Gautmish

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard