Skip to content

Commit

Permalink
Mark GIFBUILDER as TypoScript
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Oct 28, 2023
1 parent f1ecf2d commit aab476f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Documentation/Gifbuilder/Gifbuilder/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
GIFBUILDER
==========

GIFBUILDER is an object type, which is used in many situations for creating
image files (for example, GIF, PNG or JPG). Wherever the ->GIFBUILDER object
type is mentioned, these are the properties that apply.
:typoscript:`GIFBUILDER` is an object type, which is used in many situations for
creating image files (for example, GIF, PNG or JPG). Wherever the
->GIFBUILDER object type is mentioned, these are the properties that apply.

Using TypoScript, you can define a "numerical array" of
:ref:`GIFBUILDER objects <gifbuilder-object-names>` (like
:ref:`TEXT <gifbuilder-text>`, :ref:`IMAGE <gifbuilder-image>`, etc.)
and they will be rendered onto an image one by one.

The name "GIFBUILDER" comes from the time when GIF was the only supported file
format. PNG and JPG can be created as well today (configured with
The name :typoscript:`GIFBUILDER` comes from the time when GIF was the only
supported file format. PNG and JPG can be created as well today (configured with
:ref:`$TYPO3_CONF_VARS['GFX'] <t3coreapi:typo3ConfVars_gfx>`).


Expand All @@ -28,10 +28,10 @@ Note on (+calc)
Whenever the :ref:`+calc <calc>` function is added to a value in the data type
of the properties underneath, you can use the dimensions of
:ref:`TEXT <gifbuilder-text>` and :ref:`IMAGE <gifbuilder-image>` objects from
the GIFBUILDER object array. This is done by inserting a tag like this:
:typoscript:`[10.w]` or :typoscript:`[10.h]`, where `10` is the GIFBUILDER
object number in the array and `w`/`h` signifies either width or height of the
object.
the :typoscript:`GIFBUILDER` object array. This is done by inserting a tag like
this: :typoscript:`[10.w]` or :typoscript:`[10.h]`, where `10` is the
:typoscript:`GIFBUILDER` object number in the array and `w`/`h` signifies either
width or height of the object.

The special property :typoscript:`lineHeight` (for example,
:typoscript:`[10.lineHeight]`) uses the height a single line of text would take.
Expand Down

0 comments on commit aab476f

Please sign in to comment.