Adding Pictures to the list view

Hi,

I’m using the list view in my page which should display both person names along with pictures.

Could you please let me know on what is the best way to add the images to the list view? Thanks.

Regards,
Prashanth

Same as here http://forum.webix.com/discussion/1200
You can use html in the template to embed images.

Thanks. The images are not visible when I convert the HTML files to Java Web Project. Should I take care of any specific CSS changes??

Nope. Most probably you are using relative paths ( from html page to the image ), and they work for html page and don’t work when you run the same code through Java Web Project due to different main page url.

Hi Maksim,

I have attached the code used below. Could you please suggest the changes to be made to make the images work with web app?

{ view:"button", type:"icon", icon:"map-marker", borderless:false, label:"Location" },

Regards,
Prashanth

The code itself is fine

http://webix.com/snippet/c75e22e4

Be sure that codebase folder of Webix is included in java project ( including “fonts” subdirectory ). It is important that files must have the same relative positions ( css file at codebase folder, font files at codebase/fonts )