cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How to expand image in a "valuedisplay " widget.

Yoshihiko.N
13-Aquamarine

How to expand image in a "valuedisplay " widget.

Hi Developers,

I added a "valuedisplay" widget to display image dynamically but image size is small even though I configured the setting to "show image scaled to width".

Could anyone tell me on how to expand an image in the widget ?

キャプチャ3.PNG

 

キャプチャ.PNG

キャプチャ2.PNG

 

  

1 ACCEPTED SOLUTION

Accepted Solutions
abjain
13-Aquamarine
(To:Yoshihiko.N)

@Yoshihiko.N SourceURL attribute can be used for setting images dynamically in image widget. Please refer: https://www.ptc.com/en/support/article/CS208841

 

View solution in original post

3 REPLIES 3
abjain
13-Aquamarine
(To:Yoshihiko.N)

@Yoshihiko.N You can try increasing the container size for the value display widget by giving the MaxHeight and MaxWidth properties. Alternatively you can use image widget to display images on mashups.

Yoshihiko.N
13-Aquamarine
(To:abjain)

Thank you for your super quick response !

 

>by giving the MaxHeight and MaxWidth properties

-> I can do what I want to do. ( ^o^ )

 

>Alternatively you can use image widget to display images on mashups

-> I tried this but not sure how I can set image dynamically.

we need to set media (image link ) to the image widget but I don't know how I can get image link from media entities.

abjain
13-Aquamarine
(To:Yoshihiko.N)

@Yoshihiko.N SourceURL attribute can be used for setting images dynamically in image widget. Please refer: https://www.ptc.com/en/support/article/CS208841

 

Top Tags