pThumb
pThumb copied to clipboard
A better phpThumbOf
I've toggled the setting `phpthumbof.check_mod_time`, latest pThumb version drops an error: ``` Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /home/domain/domain.tld/core/vendor/james-heinrich/phpthumb/phpthumb.class.php:1990 Stack...
After upgrading to php 8 (modx 2.84 or 3.0 or 3.01), I'm getting the following error - the images are all showing up on the page, but the cache is...
I've been racking my brain trying to think of a way to do this other than doing *n* pthumb snippets in 1 chunk The way I currently do it: ```php...
Just what the title says. passing the phpthumb filtr parameter seems to do nothing. The same code worked under modx 2.x and modx 3.0.1 (with slightly different behavior).
Clearing the cache with pthumb.clean_level set to 2 which should delete all cached images is not clearing webp images. They are remaining in the cache folder. This happens regardless of...
The Modx error log is flooded with lines like the example below when using `open_basedir` settings in `php.ini`. (`open_basedir` is used as a security measure) **PHP warning: is_readable(): open_basedir restriction...
Fixes https://github.com/modxcms/pThumb/issues/43
This allows you to run a custom snippet after the thumbnail has been generated. Useful for further optimization with other libraries. This PR needs to implement the `pthumb.post_hook` system setting...
## Overview: Support of webp output seems to be broken: * Resizer doesn't work at all (see: https://github.com/modxcms/pThumb/issues/64) * Webp thumbs are much bigger then the original jpg. * Also...
I'm trying to create webp images with pthumb, but using Resizer instead of phpThumb seems to cause problems. ## Steps to reproduce: Create a webP Thumbnail with pThumb: ``` ```...