teufels / tt3-image
[teufels] Image
1.5.0
2025-01-20 08:09 UTC
Requires
- typo3/cms-core: ^12.4 || ^13.4
README
[ ṯeufels ] Image
Provide Viewhelpers, Crop Variants and SVG (inline/file) Support
This version supports TYPO3
Composer support
composer req teufels/tt3-image
Requirements
- none
How to use
- Install with composer
- (Optional) Import Static Template (before sitepackage)
- will be automatically imported - on problems or need of changed order include manual
How to use (ViewHelper)
{namespace tt3Image=Teufels\Tt3Image\ViewHelpers}
<f:format.raw>
<tt3Image:inlineSvg filePath="/absolute/path/to/some_file.svg" removeStyleAttributes="1" />
</f:format.raw>
Migration from hive_image
- migrate from old ViewHelper
hiveImage
tott3Image
, see above how to use ViewHelper
Changelog
1.5.x
- 1.5.0 add own ViewHelper for JSON Decode to remove the addiction to
fluidtypo3/vhs
1.4.x
- 1.4.0 TYPO3 v13 support
1.3.x
- 1.3.0 add necessary accessibility attributes. Implement toggle option for 'decorative' images.
1.2.x
- 1.2.0 add toggle for possibility to disable lazy loading
1.1.x
- 1.1.0 put maxWidth image size in Constants to change on purpose
- 1.1.0 change breakpoint for largest image (1920) from 1280 to 1200
1.0.x
- 1.0.2 stucture code
- 1.0.1 cleanup TypoScript / compress Code
- 1.0.0 intial from hive_image