Vela Agency

Forum Replies Created

Viewing 21 posts - 1 through 21 (of 21 total)
Dec 23, 2024 at 8:47 pm
#202237
Member
Vela Agency
OP

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.

Dec 23, 2024 at 4:41 pm
#202232
Member
Vela Agency
OP

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.

Dec 20, 2024 at 12:42 pm
#202213
Member
Vela Agency
OP
This reply has been marked as private.
Dec 20, 2024 at 10:13 am
#202208
Member
Vela Agency
OP
This reply has been marked as private.
Dec 19, 2024 at 6:58 pm
#202194
Member
Vela Agency
OP

Apologies, please try again.

Dec 18, 2024 at 4:50 pm
#202146
Member
Vela Agency
OP
This reply has been marked as private.
Dec 10, 2024 at 11:30 pm
#202019
Member
Vela Agency
OP

Ah! TY!

Aug 1, 2024 at 5:10 pm
#197589
Member
Vela Agency
OP

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>
Oct 11, 2023 at 2:46 pm
#190603
Member
Vela Agency
OP
This reply has been marked as private.
Oct 10, 2023 at 12:37 pm
#190562
Member
Vela Agency
OP

You must click “I agree” for the Google Terms.

Oct 9, 2023 at 2:28 pm
#190524
Member
Vela Agency
OP
This reply has been marked as private.
Aug 11, 2022 at 2:03 pm
#176566
Member
Vela Agency
OP

I am using [wpdm_package id="973" template="file_list"]. The following image is an example of what I would like to achieve:

FIle list

Jul 1, 2022 at 5:57 pm
#174652
Member
Vela Agency
OP

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

File List

  • This reply was modified 3 years, 8 months ago by Vela Agency.
Jun 30, 2022 at 6:01 pm
#174617
Member
Vela Agency
OP

I tried using [wpdm_package id="973" template="file_list"] but the individual links did not present.

Code

Front End

Apr 22, 2021 at 5:01 pm
#150960
Member
Vela Agency
OP

Thank you!

Jun 20, 2019 at 5:59 pm
#98800
Member
Vela Agency
OP

TY. That worked perfectly.

KO

May 31, 2019 at 12:23 pm
#97492
Member
Vela Agency
OP

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

May 8, 2019 at 6:35 pm
#96781
Member
Vela Agency
OP

Reply sent.
TY!
KO

May 8, 2019 at 6:35 pm
#96780
Member
Vela Agency
OP
This reply has been marked as private.
Mar 21, 2019 at 8:42 pm
#95088
Member
Vela Agency
OP

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?

Mar 19, 2019 at 8:02 pm
#94952
Member
Vela Agency
OP

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

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