dshovchko/flarum-avif-support 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dshovchko/flarum-avif-support

最新稳定版本:v1.0.0

Composer 安装命令:

composer require dshovchko/flarum-avif-support

包简介

Adds AVIF image format support to Flarum

README 文档

README

MIT license Latest Stable Version

A Flarum extension that adds support for AVIF image format in posts.

Features

  • ✅ Automatically recognizes .avif URLs as images
  • ✅ Enables preview for AVIF images
  • ✅ Works with Autoimage and Markdown
  • ⚠️ Image dimensions require PHP 8.2+ (AVIF support in getimagesize())

Requirements

  • Flarum ^1.0
  • PHP 8.2+ (recommended for full functionality with image dimensions)

Installation

composer require dshovchko/flarum-avif-support

Usage

Once enabled, simply paste AVIF image URLs in your posts:

https://example.com/image.avif

Or use Markdown:

![Alt text](https://example.com/image.avif)

Compatibility

  • Works with dshovchko/flarum-image-dimensions extension
  • PHP 8.1: AVIF images display but dimensions may not be detected
  • PHP 8.2+: Full support including automatic dimension detection

Links

License

MIT

统计信息

  • 总下载量: 95
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-11-06