Default Image

Hello Community,

How can we set a default Image for image link column in freedom UI?

I want to Change the Image to my own Default Image. Can someone help?

 

Thanks in advance!

Indurthi Yasaswini

 

Like 0

Like

7 comments
Best reply

Julio.Falcon_Nodos,

Julio, he is referring to the Image column type that can be added to a Freedom UI page. It uses a default icon called "image-placeholder"

Ryan

Hello community,

 

We have tried Localizable images and direct links to SysImage as well. Please give an example of how to use Resources.Images to have a default image set up

Hello,

That image is not a resource image, but a mat-icon. I don't know whether the component has a property to select the default icon. I tried guessing at a few:

  • icon
  • defaultIcon
  • default
  • image
  • defaultImage

None of the above worked. It's possible that it does not have a property to set the initial default icon - but that seems unlikely? Either way, we'll have to wait for more documentation on what properties the component supports I suppose.

Ryan

Which image, this one? 

Julio.Falcon_Nodos,

Julio, he is referring to the Image column type that can be added to a Freedom UI page. It uses a default icon called "image-placeholder"

Ryan

Thanks Ryan, sorry, also have no idea how change it

Hello Yasaswini,

 

You will need to add these fields as shown on the screenshot:

      "placeholderMode":"icon", 

      "placeholder": "eye-blue",

 

 

Best regards,

Yuliya Gritsenko

Yuliya Gritsenko,

Thanks for this Yuliya. How can we go about finding this sort of thing out for ourselves in the new angular components? In the Extjs-based pages, it's easy to look at source to see what things can be done. However, with the angular components, plus everything being minified, it's very difficult to find where to look. Are there any tricks to using devtools to find the source of the components to look for this sort of thing (even if minified)?

Ryan

Show all comments