Skip to main content
16-Pearl
Oct 6, 2023 6:05 AM UTC
Solved

How to change the size of an image in a grid?

Hi everyone,

 

Does anyone know how I can resize an image that is on a grid? (comes through as IMAGELINK but displays an image in the grid).

 

Thanks.

 

JanicenAnswer
16-Pearl
Nov 1, 2023 7:15 AM UTC

Hi 

I run TWX 9.4.2 

There are no errors, I found a work around by using a collection widget and an image. Then I resized the widget and the image resized accordingly too. 

Regards,

4 replies

24-Ruby IV
Oct 6, 2023 7:07 AM UTC

Take a look - "Can We expand image when image is stored in Grid(Clickable)": https://community.ptc.com/t5/ThingWorx-Developers/Can-We-expand-image-when-image-is-stored-in-Grid-Clickable/td-p/712584

Translate
Janicen16-PearlAuthor
16-Pearl
Oct 6, 2023 8:26 AM UTC

From the link article provided above, this is what I have: '/Thingworx/FileRepositories/SystemRepository/Icons/'+icon+'@2x.png style="height:32px;"

Yet The image still does not display. I intend to make my image smaller than how it is currently on runtime. 

 

Translate
Support
Oct 30, 2023 6:56 PM UTC

Hi @Janicen.

 

Are you seeing any errors at runtime either on screen or in the logs?  Can you provide a screenshot and your mashup so we can test it?

 

What version of ThingWorx are you running?

 

Regards.

 

--Sharon  

Translate