All Projects → netresearch → t3x-rte_ckeditor_image

netresearch / t3x-rte_ckeditor_image

Licence: AGPL-3.0 license
Image support in CKEditor for the TYPO3 ecosystem

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to t3x-rte ckeditor image

ckeditor-youtube-plugin
CKEditor Plugin to embed Youtube videos.
Stars: ✭ 53 (+23.26%)
Mutual labels:  ckeditor, ckeditor-plugin
typo3-secure-downloads
Secure your assets and data from unwanted download. Apply TYPO3 access rights to ALL file assets (PDFs, TGZs or JPGs etc. - configurable) - protect them from direct access.
Stars: ✭ 15 (-65.12%)
Mutual labels:  typo3, typo3-extension
Frontend editing
TYPO3 CMS frontend editing
Stars: ✭ 98 (+127.91%)
Mutual labels:  ckeditor, typo3
typo3v10 example sitepackage
Site package extension for TYPO3 10 feature demonstration
Stars: ✭ 13 (-69.77%)
Mutual labels:  typo3, typo3-extension
mask export
Export your mask elements as extension
Stars: ✭ 45 (+4.65%)
Mutual labels:  typo3, typo3-extension
schema
TYPO3 extension providing an API and view helpers for schema.org markup
Stars: ✭ 19 (-55.81%)
Mutual labels:  typo3, typo3-extension
urlguard
TYPO3 extension urlguard. Allows to define what query parameters will be passed to newly created typolinks.
Stars: ✭ 16 (-62.79%)
Mutual labels:  typo3, typo3-extension
in2publish core
in2publish Community Version
Stars: ✭ 38 (-11.63%)
Mutual labels:  typo3, typo3-extension
backend debug
Debug support in TYPO3 backend
Stars: ✭ 20 (-53.49%)
Mutual labels:  typo3, typo3-extension
randomdata
TYPO3 extensions to generate new random data or replace existing data with random data
Stars: ✭ 14 (-67.44%)
Mutual labels:  typo3, typo3-extension
content defender
Define allowed or denied content element types in your backend layouts
Stars: ✭ 63 (+46.51%)
Mutual labels:  typo3, typo3-extension
autoswitchtolistview
Auto switch to list view when a sysfolder is shown
Stars: ✭ 14 (-67.44%)
Mutual labels:  typo3, typo3-extension
restrictfe
TYPO3 extension restrictfe. Blocks access to frontend and allows to show it only to some defined exception's like if the request is from an authorized backend user, has specific IP, header etc.
Stars: ✭ 12 (-72.09%)
Mutual labels:  typo3, typo3-extension
aus driver amazon s3
Provides a TYPO3 FAL driver for the Amazon Web Service S3
Stars: ✭ 15 (-65.12%)
Mutual labels:  typo3, typo3-extension
form examples
TYPO3 extension. Ships several examples for the TYPO3 Form Framework, e.g. an upload form or a custom email template with personalized salutation. Includes translation examples (both global and specific).
Stars: ✭ 30 (-30.23%)
Mutual labels:  typo3, typo3-extension
autoloader
⚙️ Best TYPO3 Swiss Army knife ever ⚙️
Stars: ✭ 22 (-48.84%)
Mutual labels:  typo3, typo3-extension
luxletter
Newsletter system for TYPO3
Stars: ✭ 18 (-58.14%)
Mutual labels:  typo3, typo3-extension
fluid-components
Encapsulated frontend components with Fluid's ViewHelper syntax for TYPO3
Stars: ✭ 41 (-4.65%)
Mutual labels:  typo3, typo3-extension
TYPO3 Restler
restler (PHP REST-Framework) for TYPO3
Stars: ✭ 29 (-32.56%)
Mutual labels:  typo3, typo3-extension
TYPOTry
A small Vagrant box to try out the most recent TYPO3 release
Stars: ✭ 21 (-51.16%)
Mutual labels:  typo3

Image support for CKEditor for TYPO3

This extension adds the TYPO3 image browser to CKEditor.
Add issues or explore the project on github.

  • Same image handling as rtehtmlarea (magic images, usual RTE TSConfig supported)
  • Image browser as usual in e.g. FAL file selector
  • Dialog for changing width, height, alt and title (aspect ratio automatically maintained)

Installation

  1. Install the extension

    1. with composer from packagist

      composer req netresearch/rte-ckeditor-image
    2. download from TYPO3 TER

  2. Activate the extension

    1. in Extension Manager

    2. via command line

      ./typo3/cli_dispatch.phpsh extbase extension:install rte_ckeditor_image
  3. Add a preset for rte_ckeditor or override the default one (as below):

    <?php
    // EXT:my_ext/ext_localconf.php`
    $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:my_ext/Configuration/RTE/Default.yaml';
    # EXT:my_ext/Configuration/RTE/Default.yaml
    imports:
      # Import default RTE config (for example)
      - { resource: "EXT:rte_ckeditor/Configuration/RTE/Default.yaml" }
      # Import the image plugin configuration
      - { resource: "EXT:rte_ckeditor_image/Configuration/RTE/Plugin.yaml" }
    
    editor:
      config:
        # RTE default config removes image plugin - restore it:
        removePlugins: null
  4. Enable RTE config preset (e.g. default)

    # Page TSConfig
    RTE.default.preset = default
    
  5. Include extension Static Template file

    1. go to Template » Info/Modify » Edit whole template record » Includes
    2. choose CKEditor Image Support for Include static (from extensions)

Configuration

Maximum width/height

The maximum dimensions relate to the configuration for magic images which have to be set in Page TSConfig:

# Page TSConfig
RTE.default.buttons.image.options.magic {
    maxWidth = 1020  # Default: 300
    maxHeight = 800  # Default: 1000
}

Current versions of TYPO3 won't render TSConfig settings correctly out of custom template extensions (see the corresponding T3 bug: https://forge.typo3.org/issues/87068). In this case just add the settings to root page config.

Usage as lightbox with fluid_styled_content

# Template Constants
styles.content.textmedia.linkWrap.lightboxEnabled = 1

Configure a default css class for every image

# TS Setup

lib.parseFunc_RTE {
    // default class for images in bodytext:
    nonTypoTagStdWrap.HTMLparser.tags.img.fixAttrib.class {
      default = my-custom-class
    }
}

Image lazyload support

The extension supports TYPO3 lazyload handling (fluid_styled_content) for native browser lazyload.

# Template Constants type=options[lazy,eager,auto]
styles.content.image.lazyLoading = lazy

Allowed extensions

By default the extensions from $TYPO3_CONF_VARS['GFX']['imagefile_ext'] are allowed. However you can override this for CKEditor by adding the following to your YAML configuration:

editor:
  externalPlugins:
      typo3image:
        allowedExtensions: "jpg,jpeg,png"

Deployment

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].