I was reading the documentation on image columns, Image columns - wpDataTables - Tables and Charts WordPress Plugin. I can't figure out how to add the two sticks to show a thumbnail and click to show the larger images. When adding an entry the only option is to upload or select an image. There is not an option to select a thumbnail image. How do you make this work? Thanks
Ok. I figure out how to get the URLs in with the || but when clicking the image the image does not open in the lightbox using WP Lightbox 2. The image opens in another tab.
I was reading the documentation on image columns, Image columns - wpDataTables - Tables and Charts WordPress Plugin. I can't figure out how to add the two sticks to show a thumbnail and click to show the larger images. When adding an entry the only option is to upload or select an image. There is not an option to select a thumbnail image. How do you make this work? Thanks
Attached files: wpdatatable-image.docx
Ok. I figure out how to get the URLs in with the || but when clicking the image the image does not open in the lightbox using WP Lightbox 2. The image opens in another tab.
Hello,
The functionality for Lightbox can only be used only with our non-editable tables type, as we noted on this Documentation for Image columns;
or in other words "non-server-side tables";
If you have a server-side processing table, you could do a workaround.
For example, you won't be able to use it for Manual Tables.
But you could easily make a new SQL Query-based table which pulls the same data,
and disable server-side processing in the Data Source settings of that table.
Here are the steps : In your Manual Table, you can check under Editing tab, what is their "MySQL Table name".
Then make a new SQL Table like this : "SELECT * FROM Table_Name",
and disable server-side processing, this way you could make the LightBox work.
If you need the main source data to be editable from our plugin,
for example, a use-case could be to use the main Manual Table for Administrators to edit in the back-end,
and for front-end to be able to open images in LightBox, you could pull that data into the new SQL Table.
Let me know if that makes sense, and if you have any questions. Thank you.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Got it. Thanks for your help. I have it working using the SQL table.