Skip to main content

PowerApps CDS Uploading and Viewing Images

Code Function snippets used

Concatenate("data:" ,ThisItem.mimetype,";base64, ",ThisItem.documentbody)

"<div> <img src=’data:image/png;base64, {b64 here}}’ /> <h1>John Doe</h1> <p class=’title’>CEO & Founder, Example</p>

</div>"

"<div> <img src=’data:image/png;base64, "& vFirstImage.Document &"’ /> <h1>" & Text( Concatenate(gRegs.Selected.Firstname," ",gRegs.Selected.Lastname) &"</h1> <p class=’title’>"& Concatenate("Job ",gRegs.Selected.Jobtitle)& "</p>

</div>"