(You can change the URL to your desire and put the URL from that PDF)
You will notice the "two sticks" | | sign
If the content of the cells contains a combination of “two sticks” – || – then 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.
Hi,
Is possible to link images to different pdf?
For example if in one column I have a PDF icon, this will be linked to the pdf related to that element in the table.
Thanks
Hi Jan,
Thank you for your purchase.
Unfortunately something like this is not possible with the plugin build in features but I can give you some workaround.
First in you will need to set Column type for that column to be Image and Editor input type to be One-line edit.
Then in field value you must enter the data in this format
https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQdC9d6Z2Al0vMxQRqFc0230CUo-C-1BhIC3I5R9XTFw7MQLdeP||https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQdC9d6Z2Al0vMxQRqFc0230CUo-C-1BhIC3I5R9XTFw7MQLdeP
Or the shorter code would look like this
http://domain.com/thumb.png||http://domain.com/fullsize.png
(You can change the URL to your desire and put the URL from that PDF)
You will notice the "two sticks" | | sign
If the content of the cells contains a combination of “two sticks” – || – then 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.
Hope this can help you out.
Best regards.
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