cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mammifero
Frequent Visitor

how to open an image with an icon

Good Morning from Italy

i ask for a little help

 

i have a sharepoin list, one field is called DocImage (hyperlink to an image)

i would like to know how to open through an Icon present in Gallery2 the linked image in a different gallery

 

regards

 

1.jpg2.jpg

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-albai-msft
Microsoft
Microsoft

Hi @Mammifero 

Do you want to display image inside a gallery from another screen when click icon?  

If yes, you can refer to my steps:

1. Below is my list. To let you see clearly, I display image in my Gallery2:

v-albai-msft_0-1614759151627.png

v-albai-msft_1-1614759151630.png

2. Set OnSelect property of icon to below. So when you click this icon, you will navigate to another screen which will display image:

Navigate(scrImage)

v-albai-msft_2-1614759151636.png

3. Go to the second screen, set image to:

Gallery2.Selected.DocImage

v-albai-msft_3-1614759151649.png

Check result below:

9.gif

Best Regards,

Allen

View solution in original post

v-albai-msft
Microsoft
Microsoft

Hi @Mammifero ,

Glad that you have solved your issue. Yes, image control is better than gallery for your situation.

For your second question, you can refer to below(This way you can consider the default as 100% of the size of the image):

1. Set Slider:
Default(): 100,
Min: 0,
Max: 200,
2. In your Image set the Height and Width as a function of the Slider:

For example:
Height(): 2* Slider1.Value
Width(): 2* Slider1.Value

Run the app and test if the Slider changes the image size accordingly. 

Best regards,

Allen

View solution in original post

3 REPLIES 3
v-albai-msft
Microsoft
Microsoft

Hi @Mammifero 

Do you want to display image inside a gallery from another screen when click icon?  

If yes, you can refer to my steps:

1. Below is my list. To let you see clearly, I display image in my Gallery2:

v-albai-msft_0-1614759151627.png

v-albai-msft_1-1614759151630.png

2. Set OnSelect property of icon to below. So when you click this icon, you will navigate to another screen which will display image:

Navigate(scrImage)

v-albai-msft_2-1614759151636.png

3. Go to the second screen, set image to:

Gallery2.Selected.DocImage

v-albai-msft_3-1614759151649.png

Check result below:

9.gif

Best Regards,

Allen

View solution in original post

Dear Allen, Good Morning

FANTASTIC, ENORMOUS, COLOSSAL 😀

 

i'm really like a "new kid on town"

 

i decide to delete Gallery3 and use a normal "image" because, like in my attached image, i see to many "paperino" 

 

P.S.

The last question: how to connect the slider to the image for zoom ?

 

1.jpg

v-albai-msft
Microsoft
Microsoft

Hi @Mammifero ,

Glad that you have solved your issue. Yes, image control is better than gallery for your situation.

For your second question, you can refer to below(This way you can consider the default as 100% of the size of the image):

1. Set Slider:
Default(): 100,
Min: 0,
Max: 200,
2. In your Image set the Height and Width as a function of the Slider:

For example:
Height(): 2* Slider1.Value
Width(): 2* Slider1.Value

Run the app and test if the Slider changes the image size accordingly. 

Best regards,

Allen

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (62,228)