Skip to main content
5-Regular Member
January 14, 2016
Solved

Use valueformat in a valuedisplay widget to show an image from a url passed in from mashup parameter

  • January 14, 2016
  • 8 replies
  • 4809 views

How do I set up a valueformat in a valuedisplay widget to show an image from a url passed in from mashup parameter?

I get a broken image icon.

When I open the URL I get the image in the browser. The image is part of Thingworx install.

The url is localhost:8081/Thingworx/MediaEntities/SimplePlus

I used valueFormat Renderer and State to set the Renderer to IMAGE. The Image Scaled to Height, Fixed Style.

Thanks in advance!

MAC

Best answer by PaiChung

Set the Renderer to ImageLink and then set behavior to "Show Image"

8 replies

PaiChung22-Sapphire IAnswer
22-Sapphire I
January 15, 2016

Set the Renderer to ImageLink and then set behavior to "Show Image"

5-Regular Member
April 5, 2016

I'm not finding this works for me - I have a property that is an imagelink type and I can see I've set an image on it that displays ok from the Composer Thing Property page:

And I've set my rendering options to use 'imagelink' with format of 'show image' (both on a grid's columns and on a valuedisplay widget):

But yet what I see on my mashup are the broken link images:

I'm using TWX 6.5. Is this perhaps something that only works in later releases? Or am I overlooking a detail that is important? TIA.

22-Sapphire I
April 5, 2016

Is the link to the image accessible by the Client machine?

5-Regular Member
January 15, 2016

Thanks. Makes me wonder, what does IMAGE selection do?

22-Sapphire I
January 15, 2016

Image is if the actual Media entity is directly assigned as the data of the value display.