Vela Agency

Forum Replies Created

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

Vela Agency
Member

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.


Vela Agency
Member

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.


Vela Agency
Member
This reply has been marked as private.

Vela Agency
Member
This reply has been marked as private.

Vela Agency
Member

Apologies, please try again.


Vela Agency
Member
This reply has been marked as private.
in reply to: Filetype Exceptions #202019

Vela Agency
Member

Ah! TY!

in reply to: Replace [page_URL] & [page_link] with download link #197589

Vela Agency
Member

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>
in reply to: Email Lock not behaving as expected #190603

Vela Agency
Member
This reply has been marked as private.
in reply to: Email Lock not behaving as expected #190562

Vela Agency
Member

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

in reply to: Email Lock not behaving as expected #190524

Vela Agency
Member
This reply has been marked as private.
in reply to: add Icon in File List #176566

Vela Agency
Member

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

in reply to: Shortcode for Package Links as Individual list? #174652

Vela Agency
Member

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 2 years, 10 months ago by Vela Agency.
in reply to: Shortcode for Package Links as Individual list? #174617

Vela Agency
Member

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

Code

Front End

in reply to: Set File Browser Root to different domain? #150960

Vela Agency
Member

Thank you!

in reply to: Individual Downloads on Package Page #98800

Vela Agency
Member

TY. That worked perfectly.

KO

in reply to: Function to open all downloads in new tab? #97492

Vela Agency
Member

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

in reply to: Individual Download Links No Longer Working #96781

Vela Agency
Member

Reply sent.
TY!
KO

in reply to: Individual Download Links No Longer Working #96780

Vela Agency
Member
This reply has been marked as private.
in reply to: Download Link in new tab #95088

Vela Agency
Member

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?

in reply to: Download Link in new tab #94952

Vela Agency
Member

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)