Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-6762

Add caption to images in Gallery Macro

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Rendering
    • Labels:
      None
    • keywords:
      gallery macro captions
    • Difficulty:
      Medium
    • Similar issues:

      Description

      Any chance of extending the Gallery Macro so that you could show a caption for each image? Perhaps use the alt text as the caption. My thinking is using the gallery as part of a step-by-step tutorial where you flip between the images and the captions describes what you should be doing. This would make the images more meaningful rather than a beauty pass gallery (which looks great by the way).

      I guess something like:

      {{gallery}}
      [[image:iphone.safari.settings.png||alt="Open the settings page for Safari"]]
      
      [[image:iphone.safari.setting.cookies.png||alt="Ensure that Javascript is turned on and Cookies is set to From Visited"]]
      {{/gallery}}
      

      I am looking at using XWiki for the client-side Documentation of our webapp and am enjoying it so far.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bradley.bristowstagg Bradley Bristow-Stagg
              • Votes:
                5 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Date of First Response: