Changes to hook image_make_intermediate_size
|Reported by:||stephanreiter||Owned by:|
Currently we have the filter 'image_make_intermediate_size' in WordPress that allows plug-ins to rename/move the intermediate image file after it was created. In order to modify the image, e.g. to add watermarks, plug-ins first have to explicitly load the image although it was in memory just moments ago.
Changing the filter image_make_intermediate_size to receive the image handle in addition to the filename would allow plug-in creators to write more efficient code by reusing the image resource before it is destroyed. This can be accomplished by relocating the filter invocation into the image_resize function.
Change History (5)
comment:4 markoheijnen — 8 months ago
- Milestone Future Release deleted
- Resolution set to worksforme
- Status changed from new to closed