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
Community Support
Community Support

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
Community Support
Community Support

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
Community Support
Community Support

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
Community Support
Community Support

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,775)