vergissberlin/typo3-thumbor

TYPO3 CMS extension with fluid image view helpers to use thumbor as cropping service. It speeds up your thumbnail generation and adds some AI features like face recognition. To use it, you have to start the service separately.

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 5

Type:typo3-cms-extension

dev-master 2020-10-30 13:16 UTC

README

Latest Stable Version Total Downloads Latest Unstable Version License StyleCI Latest Stable Version

TYPO3 CMS extension with fluid image view helpers to use thumbor as cropping service. It speeds up your thumbnail generation and adds some AI features like face recognition. \nTo use it, you have to start the service separately.

Attributes

tb:img

key default description
id null Identifier
alt null Alternative text
class null CSS class
style null Inline css style
lang null language
title null Image title

Usage

Include viehelper namespace

<html xmlns:tb="Vergissberlin\Thumbor\ViewHelpers" data-namespace-typo3-fluid="true">
[…]
</html>

Internal images

Images from TYPO3 CMS data storage.

TAG

<tb:img uid="123" width="200" height="200" />
{tb:img(uid: 123)}

URL

<tb:img.url uid="123" width="200" height="200" />
{tb:img.url(uid:123,width:200,height:200,alt:'Beautiful content')}

External images

Images from external sources.

Tag

<tb:external src="https://picsum.photos/1200/800" width="200" height="200" alt="Beautiful content" />
{tb:external(src:'https://picsum.photos/200/300',width:200,height:200,alt:'Beautiful content')}