cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BrendonBrooksP1
Post Patron
Post Patron

Adding multiple images to a gallery

Greetings,

 

I have a record's gallery that Im using that displays an image,  record's name, serial number and location unique to that record.  I am able to pull the name, serial number and location information an entitity but not any images.  

 

I uploaded the images that I need to the Media drive, and am using the following statement 

  • ThisItem.Image = If(alseCard = "00-003", 00-003.jpg, "00-004", 00-004.jpg, "00-005", 00-005.jpg, "00-007", 00-007.jpg, 00-010, 00-010.jpg) etc

Is this IF statement formated correctly? Do I need to add the file extensions?

 

Brendon

 

12 REPLIES 12

After trying a few methods I found that this was the best option:

 

1. Upload all photos to the Media folder.

2. On the Excel spreadsheet, create a column known as Image
3. On each row, map a URL as follows

   

ms-appdata:///local/Resources/Assets/Images/filename.JPG

Thank you both for your suggestions and remarks.

 

Brendon

This is exactly what I've been looking for, thank you! 

Hello @BrendonBrooksP1 , Can you please explain this solution in bit detail, so we have to store the images in excel file and just refer them in gallery or images will be in powerapps media section.

 


@BrendonBrooksP1 wrote:

After trying a few methods I found that this was the best option:

 

1. Upload all photos to the Media folder.

2. On the Excel spreadsheet, create a column known as Image
3. On each row, map a URL as follows

   

ms-appdata:///local/Resources/Assets/Images/filename.JPG

Thank you both for your suggestions and remarks.

 

Brendon


 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,688)