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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

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

Janicen
16-Pearl

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.

 

ACCEPTED SOLUTION

Accepted Solutions

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,

View solution in original post

4 REPLIES 4
VladimirN
24-Ruby II
(To:Janicen)

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. 

 

slangley
23-Emerald II
(To:Janicen)

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  

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,

Announcements


Top Tags