Please help to assist as still unable to display the image thru Lightbox.
Not sure if it is coding issues or database issue?
Successfully displayed the search dataset table results with all the fields (incl one photo column) from the database. However when trying to implement user select the cell from the result dataset table, not unable to display the click selected image of the dataset table via Lightbox.
Many thanks for helping me out on this issue.
import wixData from ‘wix-data’;
…
…
export function searchButton_onClick() {
$w(‘#dataset1’).onReady(function () {
wixData.query(‘WixRunningEventsDB’)
…
…
Hey
First your code says #Dataset1 is not a valid data selector. This is crucial to solve, the dataset you have on your page, click on it and look in the property panel for it’s ID. Put that ID inside your code where you get that error.
If the Dataset1 is not configured correct your dataset actions won’t work.
Then also make sure you have row select activated in the Table and not Cell select. That will make it easier.
Thanks Andreas for the quick reply. Really appreciate your help.
Unfortunately I’m still having issues even after changing to row select. Dataset name looks correct as have no issue before and without Lightbox implementation.
Many thanks for your time. I changed as suggested but still unable to pass the table results (i.e the photo column) to Lightbox and displayed it.
Appreciated if you can check my codes as to what could be the issues? Please help to show me how to pass the table column details to Lightbox and displayed it.
Trying desperately to solve this last requirement.
Can you please help to look at my page (wow2wow.com) again. In editor the page name is “Display Image By Lightbox”.
Used to displayed the image from the result table perfectly but now unable and only displayed the default image photo and not the photo from the result table when clicked. This code was working fine a few months ago. There is error msg currently as below.
Did not changed anything from last time.
How can i change the size of the photo display once click the table row (to have full screen or larger than current default table output size).