Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
For viewing images in our plugin, you can use Image columns in wpDataTables.
“Image” link columns are used to render images in the table, either in full size, or as a link from a thumbnail to a full size image.
Rendering rules: If the content of the cells contains a combination of “two sticks” – || – everything to the left of this combination is used as a link to the thumbnail, and everything to the right as a link to the full image size:
If the “||” combination is not found in the content, the entire content will be used as a link to a full-size image.
Sorting rules: alphabetical.
Applicable filter types: text.
Editor input type: One-line edit, Attachment
Issues to note:
Sometimes some issues may appear when you’re sorting on image columns, since it’s done alphabetically, and alphabetic sorting of HTML typically doesn’t make sense.
Please note that the plugin does not create thumbnails (at least for the moment), so you will need to take care of this yourself.
If you would like to open full-size images in lightbox, you can use a plugin for that, e.g. WP Lightbox 2 (please note that this is available for tables that aren’t editable)
how do i enable users to view images like receipt in wpdatatable?
Hi, Daniel
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
For viewing images in our plugin, you can use Image columns in wpDataTables.
“Image” link columns are used to render images in the table, either in full size, or as a link from a thumbnail to a full size image.
If the “||” combination is not found in the content, the entire content will be used as a link to a full-size image.
-
Please check more details about Image columns on this documentation.
Let me know 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