Hi,
I’m trying to display image attachment preview in the Doc Preview template file. The code I have so far is:
<!-- WPDM Template: Single Column with Doc Preview -->
<div class="card mb-3">
<div class="card-body">
<img src="[preview]" />
[doc_preview]
</div>
</div>
<!--- removed file details --->
<div class="card mt-3 mb-3">
<div class="card-body">
[download_link]
</div>
</div>
[description]
The image preview was showing before but now it’s not. I was wondering if there’s something I need to fix in the code?
Also the “[doc_preview]” is not displaying the file preview all the time, it’s inconsistent. How can we approach resolving that?
Thank you for your time/help
Hello Victoria Chu,
Hope you are well. I am checking your issues here,
please continue your discussion here.
Thank you and regards
The topic ‘Image attachment preview in Doc Preview page template’ is closed to new replies.