Not sure if this is one issue or two.

Viewing 8 posts - 1 through 8 (of 8 total)
#206192

etc
Member

The site in question has been using Download Manager for about 7 years and we have 343 files. Almost all are PDF.

The last couple of times we’ve tried uploading a new file by choosing “Drop File Here” or clicking “Select File”, the file appears to upload, the progress bar moves, but the file is not attached.

We have found that if we load the PDF to the Media Library and then choose “Select from Media Library”, or upload by FTP and then choose “Select from Server”, the file is added as expected.

Separately, for some of our files we are using the PDF Preview option to display a thumbnail of the first page. This has always worked in the past, but on the latest uploads the generated image is extremely blurry. I have tried everything I can think of (clear WPDM cache, etc.) but nothing works. Also I created my own thumbnail in Photoshop and overwrote the generated version on the same filename on the server, but the original version persists.

I’m not sure if these two issues are connected or just happen to have taken place at the same time.

Is there a way to force a regeneration of the thumbnail, or to force the server to display the image I uploaded to overwrite the generated image?

Thank you.

#206203

Tahasin
Moderator

Hello,

I hope this message finds you well and thanks for reaching out.

Kindly share related URLs(where thumbnails are displayed) and wp-login credentials in a private reply to check the issue.

Regards

#206306

etc
Member
This reply has been marked as private.
#206308

Tahasin
Moderator

Thanks for sharing the credentials.

Lets solve the upload issue first. Have you tried using this hook add_filter("wpdm_is_valid_mime_type", '__return_true'); in your theme’s functions.php file?

Please check and let me know.

Regards

#206402

etc
Member
This reply has been marked as private.
#206410

Tahasin
Moderator
This reply has been marked as private.
#206411

Tahasin
Moderator
This reply has been marked as private.
#206442

etc
Member

Thank you for the replies. I was out of the office on Saturday and Sunday. Now back in on Monday.

I just created a new WPDM post and assigned it to the Newspaper category to get it to display to the page, and the thumbnail is blurry.
https://ivfa.org/association/news/newspaper/

I removed it, but first I took a screenshot which you can view here:
https://www.dropbox.com/scl/fi/foiqd6aipqjo2qf4j3nfq/ivfa-screenshot-may-12-2025.pdf?rlkey=5v2qrdk2zw70ipmeqvbvz1yrw&st=ii3ks6ra&dl=0

Also I see where you noticed the February 2024 issue also.

Here is the shortcode in use on the page:

[wpdm_category id="newspaper" cols="3" colspad="2" colsphone="1" toolbar=0 items_per_page="12" paging="1" template="link-template-pdf-preview-portrait.php"]

Here is the link-template-pdf-preview-portrait.php file:

<!-- WPDM Link Template: PDF Preview Landscape -->
<div class="pdf-thumbnail-landscape" style="text-align: center;">
    <a href="[download_url]" target="_blank">
		[pdf_thumb_300x388]
		<br>
		<strong class="package-title">[title]</strong>
	</a>
</div>

Again, this has worked for around 7 years. I’m not sure what happened with February 2024. All other files have generated good thumbnails until May 2025.

Thank you for your help.

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

You must be logged in to reply to this topic.