Image attachment preview in Doc Preview page template

in Download Manager Free

Viewing 2 posts - 1 through 2 (of 2 total)
Jul 11, 2022 at 9:22 pm
#174990
Participant
Victoria Chu
OP

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

Jul 15, 2022 at 4:47 am
#175121
Moderator
Nayeem Riddhi
Staff

Hello Victoria Chu,

Hope you are well. I am checking your issues here,

Image attachment preview in Doc Preview page template

please continue your discussion here.

Thank you and regards

Viewing 2 posts - 1 through 2 (of 2 total)

The topic "Image attachment preview in Doc Preview page template" is closed to new replies.