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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How do I display image...
Power Apps
Answered

How do I display images saved after using Add Picture control to upload it?

(0) ShareShare
ReportReport
Posted on by 894

I am uploading a picture from my PC and saving it to a database, using the AddPicture control.

The image is saved in an SQL field defined as varchar(max).

This is the Save command:

SavePhotoToDB.Run(
 UploadedImage2.Image,
 glCurrentStCode,
 txtComment_1.Text
);
Notify("Picture Saved to DB");
Back();

Save SQL looks like this:

CREATE PROCEDURE [dbo].[SP_SS_SavePhotoToDB] 
	-- Add the parameters for the stored procedure here
	@photoImage varchar(MAX), 
	@photoLinkID varchar(20) = '',
	@comment varchar(100) = ''
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

 -- Insert statements for procedure here
	


INSERT INTO [dbo].[TBL_SS_PhotoImages]
 ([PhotoImage]
 ,[PhotoLinkID]
		 ,[Comment]
		 ,[Timestamp])
 VALUES
 (@photoImage,
 @photoLinkID,
		 @comment,
		 GetDate())

SELECT SCOPE_IDENTITY()


END
GO

The actual data looks like this:

 

appres://blobmanager/cb639b02c97b4b308ac07a81f11cd8ae/1

 

When I read that back in using a flow & attempt to display it, there is nothing to see.

Why can't I see my picture?

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,928 Most Valuable Professional on at

    Hi @stapes ,

    Firstly, you might try looking at this video I saw some time ago from Shane Young @Shanescows as it possibly covers the issues you are dealing with.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • stapes Profile Picture
    894 on at

    Thanks@WarrenBelz  - interesting video. I have followed it through & built the app as shown, but I do not see how to apply this in my case.

    My media files added via AddPicture need to be linked to items in my SQL Database.

    Specifically, I need to know how I can access items like this as have already been stored:

    appres://blobmanager/0fbbfc5665fd4c868f146a10c881500f/2

  • eka24 Profile Picture
    20,925 on at
    You can follow this post on same issue:
    https://powerusers.microsoft.com/t5/Building-Power-Apps/Gallery-showing-the-wrong-images-from-a-SQL-Server-column/m-p/380106#M110274

    Also this video from Paul
    https://youtu.be/QnDD7jleHME

    If you like this post, give a thumbs up. Where it solved your issue, Mark as a solution
  • WarrenBelz Profile Picture
    154,928 Most Valuable Professional on at

    Hi @stapes ,

    I am a SharePoint user, so may not be able to troubleshoot this further - I will leave you in the capable hands of @eka24 .

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard