Hi,
splitbrain opened a new pull request at
https://github.com/splitbrain/dokuwiki/pull/3612:
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
results.
It also removes more duplicated code in media_resize_image and
media_crop_image. Future refactorings may move this code into
File\MediaFile
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.
054269e0-7fa6-11ec-9dfd-d987e9409e2a
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist