Vela Agency
Forum Replies Created
I believe this has been resolved.
I just tried it again and it did not work.
Re-verified we have 7.5.3 installed (it was a fresh installation). Cleared site and server caches (multiple times) but the error persists on multiple sites.
The image isn’t stretched. When the thumbnail is generated, it is bitmapped. It seems to have something to do with the PNGs transparent backgrounds.
NOTE: This does not occur with JPGs.
File size is not affecting the way the thumbnails are cached. I tested with the following:
Test file: https://ticotractors.com/wp-content/uploads/2024/12/TICO-Edge_logo-2c
Screenshot of rendered thumbnail: https://ticotractors.com/wp-content/uploads/2024/12/Screenshot-2024-12-23-at-10.37.17 AM.png
Cached file: https://ticotractors.com/wp-content/uploads/wpdm-cache/f2a8c582a9759d3268f7197161c62898.png
The thumbnail is still bitmapped.
I have disabled all caching and image resizing from the site an server. I have also manually removed all cached/uploaded PNGs from the server and re-added them via the package interface. The issue persists.
Please advise.
Apologies, please try again.
Ah! TY!
Exactly what I needed. TY!
For anyone who may need it in the future, the final template looks like this:
<div class="media">
<a class="pull-left" href="[download_url]">
[icon]
</a>
<div class="media-body">
<h3 class="media-heading m-0 p-0"><a href="[download_url]">[title]</a></h3>
<div class="text-muted text-small"><i class="fas fa-copy"></i> [file_count] [txt=file(s)] <i class="fas fa-hdd ml-3"></i> [file_size]</div>
</div>
<div class="ml-3">
[download_link]
</div>
</div>
You must click “I agree” for the Google Terms.
I am using [wpdm_package id="973" template="file_list"]. The following image is an example of what I would like to achieve:

Ah, I misunderstood your initial response. It is now working as desired. In case it can be of help to someone else, these are the steps I took:
1. Cloned the Link Template Metro (Downloads > Templates > Link Templates Tab)
2. Named the new Link Template “File List”
3. Assigned the Unique Identifier “file_list”
4. Removed all text in the HTML Field and replaced it with [file_list]
5. Added the shortcode [wpdm_package id="973" template="file_list"] to my page.
Thank you for your help with this!
KO

-
This reply was modified 4 years, 2 months ago by
Vela Agency.
I tried using [wpdm_package id="973" template="file_list"] but the individual links did not present.


Thank you!
TY. That worked perfectly.
KO
Thanks Andy. I am familiar with the setting you mentioned. I should have been more specific in my question…I need the PDFs to open in a new tab.
I looked at the templates and see a [download-link] shortcode in them, but no “a” tag to add a target too. I was hoping that support could offer a solution.
Support? You out there? 🙂
KO
Reply sent.
TY!
KO
Thank you, that got rid of the error…however the downloads are not opening in a new tab. You can see what I am referring to at https://flyfrompti.com by opening the Menu and selecting “Diversion Plan” under “Quick Links”. The PDF will download as opposed to opening in a new tab.
Any ideas?
I attempted this, but the snippet is throwing the following error:
syntax error, unexpected identifier (T_STRING), expecting ‘,’ or ‘;’
The snippet look like this:
case 'download_link':
//echo $download_link;
echo "<a target="_blank" href='".\WPDM\Package::getDownloadURL($data['ID'])."'>Download</a>";
break;
Please advise.
TY!
KO