.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ========================= 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 .. _img-1-img-2-Imagecrop-for-tt-content: |img-1| |img-2| 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, 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: Table of Contents ----------------- **`Imagecrop for tt\_content 1 <#__RefHeading__5708_1738894311>`_** **`Introduction 3 <#__RefHeading__5710_1738894311>`_** `What does it do? 3 <#__RefHeading__463_413120346>`_ `Screenshots 3 <#__RefHeading__465_413120346>`_ **`Users manual 4 <#__RefHeading__467_413120346>`_** **`Administration 5 <#__RefHeading__31511_818911409>`_** `Installation 5 <#__RefHeading__20367_337469319>`_ **`Configuration 6 <#__RefHeading__31515_818911409>`_** `Constants 6 <#__RefHeading__540_1236909014>`_ **`Known problems 7 <#__RefHeading__31525_818911409>`_** **`ChangeLog 8 <#__RefHeading__31623_818911409>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: 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: Screenshots ^^^^^^^^^^^ Backend (tt\_content image element): |img-3| Frontend: Everybody knows image crop scaling, so no screenshots here. .. _Users-manual: 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: Administration -------------- .. _Installation: Installation ^^^^^^^^^^^^ - Download the extension and install it with the extension manager - Include static template from extension .. _Configuration: Configuration ------------- .. _Constants: Constants ^^^^^^^^^ .. ### BEGIN~OF~TABLE ### .. _faktor: faktor """""" .. container:: table-row Variable faktor Definition The factor of cropping in percent Default 100 .. ###### END~OF~TABLE ###### plugin.tx\_nwtimagecrop\_cropscaling.faktor = 100 .. _Hint: 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: Known problems -------------- Maybe conflicts with extensions which are manipulating the tt\_content.image object like “imagecycle” does. Beware the order of loading! .. _ChangeLog: ChangeLog --------- .. ### BEGIN~OF~TABLE ### .. _0-0-1: 0.0.1 ^^^^^ .. container:: table-row Version 0.0.1 Changes First release .. _0-0-2: 0.0.2 ^^^^^ .. container:: table-row Version 0.0.2 Changes Add documentation .. _0-0-3: 0.0.3 ^^^^^ .. container:: table-row Version 0.0.3 Changes Add the checkbox only in textpic and image content elements .. _0-0-5: 0.0.5 ^^^^^ .. container:: table-row Version 0.0.5 Changes Use of addStaticFile - now you need to include Static File Template! .. _0-1-0: 0.1.0 ^^^^^ .. container:: table-row Version 0.1.0 Changes Added orient position of cropping .. _0-1-2: 0.1.2 ^^^^^ .. container:: table-row Version 0.1.2 Changes Bugfixes .. _0-1-3: 0.1.3 ^^^^^ .. container:: table-row Version 0.1.3 Changes Update documentation and added contant to editor in section content image .. ###### END~OF~TABLE ###### .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 44 .. :id: graphics5 .. :name: graphics5 .. :vspace: 57 .. :width: 161 .. |img-2| image:: img-2.png .. :align: left .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 190 .. :id: Grafik1 .. :name: Grafik1 .. :width: 430