splitbrain opened a new pull request at
The previous code used to cache the result of resize and crop image
operations indefinitely. They only time these caches were refreshed were
when the original source changed.
This meant that changes in configuration (eg. the image quality setting)
were never applied to existing images, neither were changes/improvements
in the resizing code.
This patch introduces a new Cache class for these kind of modification
It also removes more duplicated code in media_resize_image and
media_crop_image. Future refactorings may move this code into
This code should also fix currently weird results for plugin and
screenshot in the extension manager - TBH I am not 100% sure what
happened there but refreshing the cache once seems to solve the problem.
Please help us to review this pull request, so new contributors get feedback in
a timely manner.
DokuWiki mailing list - more info at