定制 macgyer/mg-image-comparison-slider 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

macgyer/mg-image-comparison-slider

最新稳定版本:1.2.0

Composer 安装命令:

composer require macgyer/mg-image-comparison-slider

包简介

Slider for showing the difference between two images

README 文档

README

TYPO3 13 TYPO3 14 Latest Stable Version Total Downloads License PHP Version Require Donate

Image Comparison Slider

A slider showing the difference between two images. Can be used vertical and horizontal. Based on img-comparison-slider by sneas.

Installation

The preferred way of installation is through Composer. If you don't have Composer you can get it here: https://getcomposer.org/

To install the package add the following to the require section of your composer.json:

"require": {
    "macgyer/mg-image-comparison-slider": "^1.0"
}

Include the Site Set, either in your site configuration or as a dependency of another Set:

# config/sites/<your-site>/config.yaml
dependencies:
  - macgyer/mg-image-comparison-slider

Without Site Sets

If your setup does not use Site Sets, import the TypoScript manually in your sitepackage:

@import 'EXT:mg_image_comparison_slider/Configuration/TypoScript/setup.typoscript'

Global default colors for handle and divider require the Site Set. Without it, colors can be configured individually per content element.

Changelog

1.2.0 - 2026-05-10

  • [NEW]: add TYPO3 14 compatibility
  • [FIX]: scope inline CSS to element ID to prevent color overrides when multiple sliders appear on the same page
  • [FIX]: restore Appearance tab in backend form by basing CE type on types['header'] instead of types[1]
  • [FIX]: place Slider tab as second tab directly after General

1.1.1 - 2026-02-01

  • [NEW]: update JS library to 8.0.7 which uses Constructable Stylesheets for Shadow DOM to avoid issues with nonce attribute when CSP is enabled

1.1.0 - 2025-11-22

  • [FIX]: render images with <f:image> instead of partial
  • [NEW]: add settings for handle and divider

1.0.1 - 2025-10-31

  • [TASK]: cleanup unnecessary CSS rules
  • [TASK]: fix README URLs

1.0.0 - 2025-10-31

  • initial release
URL
Repository: https://github.com/MacGyer/mg-image-comparison-slider
TER: https://extensions.typo3.org/extension/mg_image_comparison_slider

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-10-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固