Jeremy Varnham
Forum Replies Created
-
The emails that won’t resend:
- always contain a link to a protected file (gives 403 error if unauthenticated)
- always have server response: code 422, cURL error 28 timed out after 5001 ms
Changing the subject line and recipient name/email format didn’t appear to make a difference.
- This reply was modified 5 days, 18 hours ago by Jeremy Varnham.
Update: Actually, many emails with links do go through. I’m trying alternative subject lines and recipient names in the
name <email>
format.Forum: Plugins
In reply to: [Modern Image Formats] Empty webp versionsGreat! You posted your second reply as I was still writing ??
Forum: Plugins
In reply to: [Modern Image Formats] Empty webp versionsDo you know the image-name.png colour type?
identify -verbose image-name.png | grep "Type"
If it is PaletteAlpha or Palette, this might be the same problem (webp not supporting palette colour types causing the conversion to fail).
PNG color types:
Grayscale Only shades of gray, no color, no transparency.
TrueColor Full RGB colors, no transparency.
Indexed (Palette) Uses a limited palette of colors (indexed color mode).
GrayscaleAlpha Grayscale with transparency.
TrueColorAlpha Full RGB colors with transparency (RGBA).
PaletteAlpha Indexed (palette-based) colors with transparency.Forum: Plugins
In reply to: [Modern Image Formats] Empty webp versionsI’ve noticed this issue recently on PNG images with transparency that I have shrunk using TinyPNG.com, which seems to convert images colour mode from TrueColorAlpha to PaletteAlpha.
?$ identify -verbose?original.png | grep "Type"
Type: TrueColorAlpha?$ identify -verbose?minified.png | grep "Type"
Type: PaletteAlphaRegenerating the two images
$ sudo -u apacheuser wp media regenerate 32694 32751 --url=example.com
Found 2 images to regenerate.
1/2 Regenerated thumbnails for "minified" (ID 32751).
Warning: imagewebp(): Palette image not supported by webp in /var/www/example.com/wp-includes/class-wp-image-editor.php on line 572
2/2 Regenerated thumbnails for "minified" (ID 32694).
Success: Regenerated 2 of 2 images.The result: original works but minified gives a zero size file.
$ ls -l wp-content/uploads/2025/02/
-rw-r--r-- 1 apacheuser apachegroup 69166 Feb 11 11:19 wp-content/uploads/2025/02/original.png
-rw-r--r-- 1 apacheuser apachegroup 20064 Feb 11 11:20 wp-content/uploads/2025/02/original-png.webp
-rw-r--r-- 1 apacheuser apachegroup 48600 Feb 11 07:56 wp-content/uploads/2025/02/minified.png
-rw-r--r-- 1 apacheuser apachegroup 0 Feb 11 11:20 wp-content/uploads/2025/02/minified-png.webp- This reply was modified 2 weeks, 6 days ago by Jeremy Varnham. Reason: formatting
I got it working.
Forum: Reviews
In reply to: [PDF Thumbnail Generator] Possible data security issuePerhaps the reviewer @bsoftde would like to explain how WordPress “does the thumbnail generation out of the box”. It certainly doesn’t do so in the same way as this plugin by converting each one and saving it in the same location in the uploads folder. I can only image you are referring to the ability to use a PDF url directly in an img tag to get a preview of the first page? However, this doesn’t give the same flexibility that the plugin affords in terms of image dimensions, format, and quality/compression level. I’m also guessing that older browsers may not support that style of usage either.
- This reply was modified 7 months ago by Jeremy Varnham. Reason: typo
Forum: Plugins
In reply to: [PDF Thumbnail Generator] New thumbnails no longer generated automaticallyI can confirm that it is actually a problem with the shared hosting environment. On the sandbox (Ubuntu 22.04, PHP 8.1, Apache/2.4.58 (Ubuntu), ImageMagick 7.1.1-26), once I eventually got everything configured, it works perfectly. Thanks!
Forum: Plugins
In reply to: [PDF Thumbnail Generator] New thumbnails no longer generated automaticallyBear with me – imagemagick is stubbornly not working in the temporary sandbox.
Forum: Plugins
In reply to: [PDF Thumbnail Generator] New thumbnails no longer generated automaticallyThank you! How can I send you the sandbox credentials securely? And what type of access do you require (wp login / ssh)?
@marcdegagnelob It is possible that this is a caching issue. You may wish to try checking your caching plugin or web hosting cache settings to exclude the uploads folder, a specific sub-folder, or a specific file type (such as PDFs) from being cached.
The web hosting company I use provides this guidance.
@utilisdesign00 Once you have set up your API action to send the form submissions to a CRM, you can go to the individual form settings, under the tab General, scroll down to On Submit, and select Do not store entries submitted from this form.
You may also wish to go to Formidable Forms Global Settings and select Do not store IPs with form submissions, and if you aim to remove unnecessary cookies and do not intend to limit entries for each person (which sets a browser cookie), you can disable it.
Forum: Plugins
In reply to: [Search in Place] Javascript error with UTF-8 (Arabic) searchIt works perfectly! Thank you so much.
Forum: Plugins
In reply to: [Search in Place] Javascript error with UTF-8 (Arabic) searchHello, and thanks for your immediate reply!
The updated plugin no longer causes an error, and searching works correctly; however, there remains a minor issue wherein the highlighting is sometimes (unpredictably) offset by a few characters.
Here’s an example screenshot:
Forum: Plugins
In reply to: [PDF.js Viewer] Micrsoft Defender SmartScreen has block this unsafe contentJust adding a note that the plugin author reported the issue to the Mozilla PDF.JS developers on Github back in 2020:
https://github.com/mozilla/pdf.js/issues/12768
The final comment on there, at time of writing, was this suggestion:
From the warning page, select More information > Report that this site doesn’t contain threats to go to the Microsoft feedback site, and follow the instructions.