Details

    • Story
    • Resolution: Fixed
    • Major
    • 0.9
    • 0.7
    • None
    • None
    • Yes
    • Basel 31
    • 3

    Description

      A component to add an Image with optional credit and caption.

      The Image component should work the same as the image in the textImage component.
      The dialog should be roughly equivalent to the image tab of the textImage dialog:

      name label description
      image Image Select or upload an image to display.
      imageAltText Image alt text Alternative text explaining the contents of the image. Used in screen readers and when image cannot be displayed. If left blank, the title of the image asset will be used.
      imageTitle Image title Image title is displayed on mouse hover. If left blank, Image alt text will be used.
      imageCaption Caption A caption to display with the image. If left blank, the caption of the image asset will be used if it exists, otherwise no caption will be displayed.
      imageCredit Credit A credit to display with the image, such as a copyright notice or a source. If left blank, the copyright of the image asset will be used if it exists, otherwise no credit will be displayed.

      TemplateScript:
      The image and textImage components should use the same image macro.

      The template script must behave as described in the above descriptions.

      Like with the textImage, if there are no copyright or credit - then just an img tag should be created. If a copyright or credit exists, they should be included in span tags - and the img and span tags should be within an additional div tag.

      Parameters:
      Template definition parameters exist to allow developer to configure extra css classes to be used in the template script.
      imageWrapperClass
      imageClass

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                cmeier Christoph Meier
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 7h
                      7h