Hi,
I use the wpdatatables plugin, and have a list of pdf files in one MySQL table as source like this:
Column A with the url of the pdf file (https:mysite.com/wp-content/uploads/file1.pdf)
Column B with the url of an image as the source for the link (https:mysite.com/wp-content/uploads/file1.png)
Column C as a virtual (calculated) column like <a href="https:mysite.com/wp-content/uploads/file1.pdf" target="_blank"> <img src=https:mysite.com/wp-content/uploads/file1.png"></a> (within the "taget=_blank" option enabled in fancy settings)
Column D as a virtual (calculated) column with shortcode like [fancybox url="https:mysite.com/wp-content/uploads/file1.pdf"] <<img src=https:mysite.com/wp-content/uploads/file1.png">[/fancybox]
None of these options opens the pdf in a lightbox. The pdf is open but in the browser window. Even with the "Convert PDF links" enabled.
BUT the format ""
mysite.com/pypage/#!fancybox/eb682b69" seems to work !
My question is : how to get this generated "eb682b69" like code for the pdf files ? Can it be calculated ? And stored ? I didn't found any table with it...
Thank you.
Andres