Hi, I am trying to show PDF content as preview OR download link on detail view page.
For now It only shows path to a file or blank rectangle
How to get preview of PDF or at least a downloadable link ?
Hi, I am trying to show PDF content as preview OR download link on detail view page.
For now It only shows path to a file or blank rectangle
How to get preview of PDF or at least a downloadable link ?
<iframe src="https://docs.google.com/gview?url=<?php echo **here_goes_your_ur**l ;?>&embedded=true" height="**<?php echo doc_height; ?>**" width="100%" frameborder="0" style="border:1px solid #ddd;"></iframe>
there you go have fun! will only work in phprad classic if using in vue replace the code with this
//
<iframe src=`https://docs.google.com/gview?url=${item.fieldname}&embedded=true` height=`${item.height_field}` width="100%" frameborder="0" style="border:1px solid #ddd;"></iframe>