DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Imagecrop for tt_content¶
Created: | 2013-10-23T12:19:29 |
---|---|
Changed: | 00:00:00 |
Classification: | nwt_imagecrop |
Keywords: | tt_content, image, crop, scaling, cropscaling, croppscale, cropping |
Author: | networkteam |
Email: | info@networkteam.com |
Language: | en |
Imagecrop for tt_content¶
Extension Key: nwt_imagecrop
Language: en
Version: x.y.z
Keywords: tt_content, image, crop, scaling, cropscaling, croppscale, cropping
Copyright 2012-2013, networkteam, <info@networkteam.com>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.org
Table of Contents¶
`Imagecrop for tt_content 1 <#__RefHeading__5708_1738894311>`_
`Introduction 3 <#__RefHeading__5710_1738894311>`_
`Users manual 4 <#__RefHeading__467_413120346>`_
`Administration 5 <#__RefHeading__31511_818911409>`_
`Configuration 6 <#__RefHeading__31515_818911409>`_
`Known problems 7 <#__RefHeading__31525_818911409>`_
`ChangeLog 8 <#__RefHeading__31623_818911409>`_
Introduction¶
What does it do?¶
This extension provides an extra checkbox in the tt_content image element to define whether the width and hight are maximum values (standard) or are the exact values for the image rendering.
This extension is tested up to version 6.2.
Screenshots¶
Backend (tt_content image element):
Frontend: Everybody knows image crop scaling, so no screenshots here.
Users manual¶
- Go to the tt_content image element
- Select the appearance tab
- Set the checkbox if the images should have all the same width and hight (resize & crop).
- Choose the position of cropping
Administration¶
Installation¶
- Download the extension and install it with the extension manager
- Include static template from extension
Configuration¶
Constants¶
faktor¶
Variable
faktor
Definition
The factor of cropping in percent
Default
100
plugin.tx_nwtimagecrop_cropscaling.faktor = 100
Hint¶
There is no other configuration or limitations for the image rendering. The width and height fields are these from the TYPO3 Core. If you want to change the config of them (e.g. range) use the default TCA.
# maximum image height/width (default is 700/999)
$TCA['tt_content']['columns']['imageheight']['config']['range']['uppe r'] = 9999;
$TCA['tt_content']['columns']['imagewidth']['config']['range']['upper '] = 9999;
# minimum image height/width (default is 25)
$TCA['tt_content']['columns']['imageheight']['config']['range']['lowe r'] = 1;
$TCA['tt_content']['columns']['imagewidth']['config']['range']['lower '] = 1;
Known problems¶
Maybe conflicts with extensions which are manipulating the tt_content.image object like “imagecycle” does. Beware the order of loading!
ChangeLog¶
0.0.1¶
Version
0.0.1
Changes
First release
0.0.2¶
Version
0.0.2
Changes
Add documentation
0.0.3¶
Version
0.0.3
Changes
Add the checkbox only in textpic and image content elements
0.0.5¶
Version
0.0.5
Changes
Use of addStaticFile - now you need to include Static File Template!
0.1.0¶
Version
0.1.0
Changes
Added orient position of cropping
0.1.2¶
Version
0.1.2
Changes
Bugfixes
0.1.3¶
Version
0.1.3
Changes
Update documentation and added contant to editor in section content image