Support » Plugin: Comments - wpDiscuz » Generate Additional Thumbnail Sizes

  • Resolved Mark Chouinard


    V 7.0.6
    WordPress 5.4.2

    I’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!

    • This topic was modified 2 months, 3 weeks ago by Mark Chouinard. Reason: Remove link - issue no longer visible on site
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.