Hi Iman Maryadi
In Datalist>Source>Configure JDBC Datalist Binder, you can compose the SQL query example below (for MySQL) to display images in datalist listing, do ensure you tick "Yes" in column properties for "Render value as HTML". Do ensure that the:
- Path to the image download folder is correct
- The "fieldId" storing the image's filename is correct, example "c_Picture"
- Size the image height and width accordingly
- If the image needs to be a clickable link, add the required <a> tag in the CONCAT query
- Do amend to suit your database brand (SQL Server, Oracle etc.)
SELECT CONCAT("<img src='/jw/web/client/app/MyApp/latest/form/download/MyApp/",id,"/",c_Picture,".' height='100' width='100' align='middle' alt='",c_Desc,"'>","<br/>","<b>",c_AppName) AS AppName,
FROM app_fd_MyApp;