Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-395

Image Control - image.ftl template: When uploaded a binary image (not chosen form dms), the filename is always rendered as image caption

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 1.2.1
    • 1.1
    • None
    • None

    Description

      In the template 'image.ftl' this if clause is always true on a binary image:
      [#if image.title?? || image.copyright?? || image.description??]

      This because the image name is in case of a binary returned as image.title.
      Finally the image.caption is then rendered -> the file name is the caption.
      => the image name on a binary always appears below the image.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: