Generate Additional Thumbnail Sizes
-
V 7.0.6
WordPress 5.4.2I’d like to generate custom image sizes when an image is added to a comment. The available choices don’t work as we need a custom image size for a separate gallery of comment images.
I managed to get this working by adding the custom image sizes to
getAllImageSizes()
and adding the related _size_(w|h) rows to the options table but that’s not a sustainable solution.Would it be possible to get a filter on
getAllImageSizes()
and a way to get _size_w and _size_h into the the options table?Please feel free to point out if I missed something obvious!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Generate Additional Thumbnail Sizes’ is closed to new replies.