Date: Thu, 28 Mar 2024 19:16:40 +0000 (UTC) Message-ID: <958387267.140160.1711653400489@ip-10-0-0-39.us-west-2.compute.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_140159_690730107.1711653400489" ------=_Part_140159_690730107.1711653400489 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Alternative Solution
You may check out Image Datalist Formatter in the Joget Marketplace as well.
Figure 1: Image in a listing
We will need to get the path to the image first, as shown in Figure 2 ab= ove.
Then, in the Datalist, we will need to construct the img&nb= sp;html tag, mimicking the image URL path. In this case, we are us= ing the default database and writing the SQL based on MySQL database.
SELECT i= d, c_title, c_image, concat("<img src=3D'/jw/web/client/app/imageInList/= 1/form/download/sample/", id, "/", c_image, ".'/>") as 'image', concat("<img src=3D'/jw/web/client/app/imageInList/1/form/download/sampl= e/", id, "/", c_image, ".thumb.jpg'/>") as 'imagethumb' FROM app_fd_samp= le
Note: If you are using Joget Workflow v5, you can control whether you wa= nt the image files to be accessed as anonymous or not. In Joget Workflow v4= , one must be logged in in order to see the images.
You can download the sample app used in this article for your reference.=