Hi,
-
Configure the table with “Clicking select rows”.
-
Add an event handler to “onRowSelect()” ( https://www.wix.com/code/reference/$w.Table.html#onRowSelect ) via code or via the properties panel.
-
The examples in the above link explain how to get the data from the selected row:
$w("#myTable").onRowSelect( (event, $w) => {
let rowData = event.rowData; // {"fName": "John", "lName": "Doe"}
} );
- “rowData” should contain all data displayed in the selected row and you would extract the image src via something like: “rowData.imageField.src”
Good luck!