"Add Media" to your #WordPress data table using @NinjaTables
Adding media to a table created by Ninja Tables is simple and fast. You can easily add image to your table columns and rows. You can show images or buttons. This feature comes with Ninja Tables PRO.
See exampleπππ
Here we have a sample table created using Ninja Tables Plugin. (see Screenshot)
It has enough columns and rows. We will add a new column now for images. Click the "Add Column" button on the right upper corner.
A new window will pop up (first screenshot). we'll name the column "images" for simple use. Now from "Data Type" select "Image/File/Lightbox" (2nd Screenshot). After selection, you'll see new options under it. (see 3rd screenshot)
You can choose what you want. you can choose simply images or Image lightbox, Iframe lightbox. You can also add links to your image. we'll select Images for now.
You can also choose Responsive breakpoint if you want to show or hide this column on desktop and mobile.(screenshot)
After clicking "Add Column", you'll see a new column has been added to the table. (see screenshot)
Now click the pencil icon from the left (shown in the screenshot). A new window will open. You can upload images for this row. Click upload image and upload your desired image.