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

Base 64 string in imagewidget, Mashup Builder hangs

oskarberntorp
12-Amethyst

Base 64 string in imagewidget, Mashup Builder hangs

Hi,

I am trying to display an base64 image with the image widget, but the base64 string seems to hang the mashup builder when saving it.

 

Questions:

- Is there a max length of the sourceURL property?

- How to get arround the mashup builder hanging when saving?

- Another option would be to have a html widget and in it have a ordinary img element, can that be done and how?

 

// Oskar

ACCEPTED SOLUTION

Accepted Solutions

if you are using image widget try changing the following options,

Sathishkumar_C_0-1700138747235.png

 

If you are using value display... try formatting like below...

Sathishkumar_C_1-1700138870266.png

 

 

 

View solution in original post

3 REPLIES 3

It should work as expected. please refer following post,

https://community.ptc.com/t5/ThingWorx-Developers/Base64-URL-with-Image-Widget/m-p/837618#M60219

 

altenate option you can use value display with base64 string render as image.

 

if possible you can share entities here.

Hi,

Thank you for the tip, now the image is shown, but it is not entirely centered (on the y axis, align-items in flex box) despite setting horizontal and vertical alignment to center, how to fix that?

if you are using image widget try changing the following options,

Sathishkumar_C_0-1700138747235.png

 

If you are using value display... try formatting like below...

Sathishkumar_C_1-1700138870266.png

 

 

 

Announcements


Top Tags