Skip to content

Add support for WebP format in admin panel image uploads #59

@zzstoatzz

Description

@zzstoatzz

Feature Request

Add support for uploading WebP format images in the admin panel's image upload functionality.

Current Behavior

The image upload feature in the admin panel currently supports common formats like PNG, JPG, and GIF for custom emojis/images.

Desired Behavior

  • Accept .webp files in the image upload interface
  • Handle WebP format properly for storage and display
  • Ensure WebP images work correctly as custom emojis

Benefits

  • WebP provides better compression than PNG/JPEG with similar quality
  • Smaller file sizes = faster loading times
  • Modern browser support for WebP is excellent
  • Would reduce storage and bandwidth usage

Implementation Notes

  • Update file type validation to accept image/webp MIME type
  • Ensure the image processing pipeline handles WebP correctly
  • Test WebP rendering across different browsers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions