.. include:: /Includes.rst.txt .. index:: Functions; imageLinkWrap imageLinkWrap .. _imagelinkwrap: ============= imageLinkWrap ============= .. contents:: :local: .. index:: imageLinkWrap; Properties .. _imagelinkwrap-properties: Properties ========== .. _imagelinkwrap-enable: enable ------ .. confval:: imageLinkWrap.enable :name: imagelinkwrap-enable :type: :ref:`data-type-boolean` / :ref:`stdwrap` :Default: 0 Whether or not to link the image. Must be set to True to make :typoscript:`imageLinkWrap` do anything at all. .. _imagelinkwrap-file: file ---- .. confval:: imageLinkWrap.file :name: imagelinkwrap-file :type: :ref:`stdwrap` Apply :ref:`stdwrap` functionality to the file path. .. _imagelinkwrap-width: width ----- .. confval:: imageLinkWrap.width :name: imagelinkwrap-width :type: :ref:`data-type-positive-integer` / :ref:`stdwrap` :Default: 0 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. .. _imagelinkwrap-height: height ------ .. confval:: imageLinkWrap.height :name: imagelinkwrap-height :type: :ref:`data-type-positive-integer` / :ref:`stdwrap` :Default: 0 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. .. _imagelinkwrap-effects: effects ------- .. confval:: imageLinkWrap.effects :name: imagelinkwrap-effects :type: like :ref:`gifbuilder-effect` of :ref:`GIFBUILDER` :Default: 0 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 } .. _imagelinkwrap-sample: sample ------ .. confval:: imageLinkWrap.sample :name: imagelinkwrap-sample :type: :ref:`data-type-positive-integer` / :ref:`stdwrap` :Default: 0 :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. .. _imagelinkwrap-title: title ----- .. confval:: imageLinkWrap.title :name: imagelinkwrap-title :type: :ref:`data-type-string` / :ref:`stdwrap` Specifies the html-page-title of the preview window. Needs :typoscript:`JSwindow = 1`. .. _imagelinkwrap-bodyTag: bodyTag ------- .. confval:: imageLinkWrap.bodyTag :name: imagelinkwrap-bodyTag :type: :ref:`data-type-tag` / :ref:`stdwrap` 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 ( ) .. _imagelinkwrap-wrap: wrap ---- .. confval:: imageLinkWrap.wrap :name: imagelinkwrap-wrap :type: :ref:`data-type-wrap` This wrap is placed around the ``-tag in the preview window. Needs :typoscript:`JSwindow = 1`. .. _imagelinkwrap-target: target ------ .. confval:: imageLinkWrap.target :name: imagelinkwrap-target :type: :ref:`data-type-target` / :ref:`stdwrap` :Default: :typoscript:`thePicture` This specifies the `target` attribute of the link. The attribute will only be created if the current :ref:`Doctype