.. include:: /Includes.rst.txt .. index:: Functions; imageLinkWrap imageLinkWrap .. _imagelinkwrap: ============= imageLinkWrap ============= .. contents:: :local: .. index:: imageLinkWrap; Properties Properties ========== enable ------ :aspect:`Property` imageLinkWrap.enable :aspect:`Data type` :ref:`data-type-boolean :aspect:`Default` 0 :aspect:`Description` Whether or not to link the image. Must be set to True to make :typoscript:`imageLinkWrap` do anything at all. file ---- :aspect:`Property` imageLinkWrap.file :aspect:`Data type` :ref:`stdwrap` :aspect:`Description` Apply :ref:`stdwrap` functionality to the file path. width ----- :aspect:`Property` imageLinkWrap.width :aspect:`Data type` :ref:`data-type-positive-integer` / :ref:`stdwrap` :aspect:`Default` 0 :aspect:`Description` Width of the image to be shown in pixels. If you add "m" to :typoscript:`width` or :typoscript:`height` or both then the width and height parameters will be interpreted as maximum and proportions of the image will be preserved. height ------ :aspect:`Property` imageLinkWrap.height :aspect:`Data type` :ref:`data-type-positive-integer` / :ref:`stdwrap` :aspect:`Default` 0 :aspect:`Description` Width of the image to be shown in pixels. If you add "m" to :typoscript:`width` or :typoscript:`height` or both then the width and height parameters will be interpreted as maximum and proportions of the image will be preserved. .. index:: imageLinkWrap; effects effects ------- :aspect:`Property` imageLinkWrap.effects :aspect:`Data type` like :ref:`gifbuilder-effect` of :ref:`GIFBUILDER` :aspect:`Default` 0 :aspect:`Description` Apply image effects to the preview image. Example for effects ~~~~~~~~~~~~~~~~~~~ .. code-block:: typoscript imageLinkWrap { effects = gamma=1.3 | sharpen=80 | solarize=70 # effects only works when directImageLink is FALSE directImageLink = 0 # at most 800 pixels wide. Keep proportions. width = 800m # at most 600 pixels wide. Keep proportions. height = 600m } .. index:: imageLinkWrap; sample sample ------ :aspect:`Property` imageLinkWrap.sample :aspect:`Data type` :ref:`data-type-positive-integer` / :ref:`stdwrap` :aspect:`Default` 0 :aspect:`Description` :typoscript:`sample` is a switch which determines how the image processor (often GraphicsMagick or ImageMagick) calculates the preview image. If :typoscript:`sample` is true then `- sample` is used with GraphicsMagick or ImageMagick instead of `- geometry` to calculate the preview image. `sample` does not use antialiasing and is therefore much faster than the `geometry` procedure of GraphicsMagick or ImageMagick. title ----- :aspect:`Property` imageLinkWrap.title :aspect:`Data type` :ref:`data-type-string` / :ref:`stdwrap` :aspect:`Description` Specifies the html-page-title of the preview window. Needs :typoscript:`JSwindow = 1`. bodyTag ------- :aspect:`Property` imageLinkWrap.bodyTag :aspect:`Data type` :ref:`data-type-tag` / :ref:`stdwrap` :aspect:`Description` This is the `
`-tag of the preview window. Needs :typoscript:`JSwindow = 1`. Example setting a bodytag for the preview window ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: typoscript # "onBlur" closes the window automatically if it looses focus imageLinkWrap.JSwindow = 1 imageLinkWrap.bodyTag ( ) wrap ---- :aspect:`Property` imageLinkWrap.bodyTag :aspect:`Data type` :ref:`data-type-wrap` :aspect:`Description` This wrap is placed around the ``-tag in the preview window. Needs :typoscript:`JSwindow = 1`. target ------ :aspect:`Property` imageLinkWrap.target :aspect:`Data type` :ref:`data-type-target` / :ref:`stdwrap` :aspect:`Default` :typoscript:`thePicture` :aspect:`Description` This specifies the `target` attribute of the link. The attribute will only be created if the current :ref:`Doctype