sitegeist/sms-responsive-images
Composer 安装命令:
composer require sitegeist/sms-responsive-images
包简介
Provides ViewHelpers and configuration to render valid responsive images based on TYPO3's image cropping tool.
关键字:
README 文档
README
Responsive Images for TYPO3
This TYPO3 extension provides ViewHelpers and configuration to render valid responsive images based on TYPO3's image cropping tool.
Authors & Sponsors
- Simon Praetorius - praetorius@sitegeist.de
- All contributors
The development and the public-releases of this package is generously sponsored by my employer https://sitegeist.de.
Installation
This extension is available via packagist.
composer require sitegeist/sms-responsive-images
Alternatively, you can install the extension from TYPO3 TER:
TYPO3 TER: sms_responsive_images
For further instructions, please take a look at the full documentation.
Updating from 2.x
- Support for TYPO3 9.5 and PHP < 7.4 is gone.
- If you still include
constants.tsandsetup.tsmanually in your TypoScript configuration, these files have now been renamed toconstants.typoscriptandsetup.typoscript. - Since TYPO3 v12
has declared all ViewHelper classes as
final, this has been applied to the responsive images ViewHelpers as well.
Updating from 1.x
There are a few breaking changes which might require you to update your integration:
- Support for TYPO3 8.7 is gone. Please use version 1.3 of the extension.
- The
picturefillattribute of<sms:image />and<sms:media />has been removed, so you need to remove it from your Fluid templates. Separate markup for picturefill.js is no longer required, so the extension now outputs standards-compliant markup at any time. - In addition to svg files, gif files are now excluded as well. You can change this by
adjusting the
ignoreFileExtensionsparameter. - If
lazyloadis enabled, image tags will get aclass="lazyload"automatically.
There are also some changes under the hood you might want to consider:
- The PHP namespace has switched from
SMS\SmsResponsiveImagestoSitegeist\ResponsiveImages, so if you extended one of the provided PHP classes, you need to adjust this. - The extension now uses
.1579774724instead of.100to overwrite the image partial of fluid_styled_content. This means that there will be less interference with other extensions. However, if you need to overwrite theImage.htmlfile again, you need to specify your partial after that value. - The demo plugin is gone, so if you were using it, it won't work anymore.
Documentation
To get an overview of responsive images in general and what the extension does, take a look at the following blog post:
sitegeist Techblog: Responsive Images with TYPO3 8.7+
You will find the full documentation for this extension on typo3.org:
sitegeist/sms-responsive-images 适用场景与选型建议
sitegeist/sms-responsive-images 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 513.63k 次下载、GitHub Stars 达 34, 最近一次更新时间为 2017 年 05 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「image」 「placeholder」 「picture」 「cropping」 「TYPO3 CMS」 「retina」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 sitegeist/sms-responsive-images 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sitegeist/sms-responsive-images 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 sitegeist/sms-responsive-images 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Glide image processing in a Symfony2 project
Yii2 LightBox image galary widget uses Lightbox v2.10.0 by Lokesh Dhakar
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
A plugin which generates an invisible SVG of specific dimensions for use when lazyloading images in Craft CMS templates.
The Kiwa Source Collection makes it easy to create HTML Audio, Picture and Video elements with multiple sources.
Module for ProcessWire which automatically generates Blurhashs.
统计信息
- 总下载量: 513.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 34
- 点击次数: 35
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2017-05-30