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 / Can I Generate a PDF w...
Power Apps
Unanswered

Can I Generate a PDF with a gallery of images?

(0) ShareShare
ReportReport
Posted on by 30

Hello Community,

I'm having a tricky situation where I need to convert a gallery of images generated in PowerApps into a PDF. Is there a way to achieve this? Please let me know. I was able to convert a single image to PDF but not a gallery of images. Thank you in advance!

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

    Hi @Kitz,

    Could you please share a bit more about your scenario?

    How do you convert a single image to a PDF on your side? Using custom connector?

    I suppose that you save the image into a HTML file firstly (using  Microsoft Flow), using <img> tag to collect the image, then convert the HTML file into a PDF file, is it true?

    If your solution just as I mentioned above, you could consider take a try to concatenate (using Concat function in PowerApps) all image content within your Gallery control into a single one string value with a specific separator (e.g. '#'), then pass this concatenated string to your flow, and use the Split function to split this concatenated string into an array.

    Please check the following blog for more details:

    https://www.techmikael.com/2017/05/saving-collection-of-images-from.html

    More details about Concat function, please check the following article:

    Concat function

     

    Best regards,

    Kris

     

  • Kitz Profile Picture
    30 on at

    Hi @ 

     

     

     

  • hishamfadit Profile Picture
    3 on at

    Hi, did you get the solution for this? converting the gallery of images to PDF based on selected ID?

  • wheatbarley36 Profile Picture
    14 on at

    Has a solution for this been found? 

  • George_Sousa Profile Picture
    20 on at

    Has anyone found a solution?

    I have tried collecting the images and then calling the collection in the HTML

    Works with the text but images have a hyperlink instead of the image.

    I have been successful in setting images via json and then calling on the html but I don't know how to loop the set and call.

    Any help would be great

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 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard