# Gallery 3 Stack: Captions with Multiple Lines

**URL:** <https://forums.realmacsoftware.com/t/gallery-3-stack-captions-with-multiple-lines/45583>\
**Category:** RapidWeaver Classic\
**Created:** [December 11, 2024, 5:34pm UTC](https://forums.realmacsoftware.com/t/gallery-3-stack-captions-with-multiple-lines/45583 "2024-12-11T17:34:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevesots](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@stevesots](https://forums.realmacsoftware.com/u/stevesots)\
**Post date:** [December 11, 2024, 5:34pm UTC](https://forums.realmacsoftware.com/t/gallery-3-stack-captions-with-multiple-lines/45583/1 "2024-12-11T17:34:00Z")

</div>

Hi there. I have built a page of page of, well, pics using the Gallery 3 stack. I would like to create captions with a title followed by 2-3 lines:

Title Line (preferably in bold)

- Line 2
- Line 3
- Line 4

I am currently entering info into the alt field but cannot figure a way to force line breaks. Also, I tried entering the info w/line breaks into the images in the Mac Photos app and then exporting the images. However, the captions disappear after adding the image to the Gallery 3 stack.

Any guidance/help would be much appreciated. Many thanks!

---

<div class="post-metadata">

**Author:** ![Pete](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@Pete](https://forums.realmacsoftware.com/u/Pete)\
**Post date:** [December 11, 2024, 8:55pm UTC](https://forums.realmacsoftware.com/t/gallery-3-stack-captions-with-multiple-lines/45583/2 "2024-12-11T20:55:15Z")

</div>

If you are using Will Woodgate’s Pro Gallery 3, you add text in Image Title and Image Caption. You then have “Display Toggles” to not hide either title or captions. You find that under ProGallery Title and Caption Settings.

---

<div class="post-metadata">

**Author:** ![willwood](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@willwood](https://forums.realmacsoftware.com/u/willwood)\
**Post date:** [December 12, 2024, 10:02am UTC](https://forums.realmacsoftware.com/t/gallery-3-stack-captions-with-multiple-lines/45583/3 "2024-12-12T10:02:14Z")

</div>

Assuming this is ProGallery 3 being discussed here, the ALT field isn’t suitable for longer caption content and HTML markup, like line breaks and lists. ALT is an acronym for ‘alternative text’. You can learn some more about it [here](https://www.howtogeek.com/821673/what-is-alt-text-why-you-should-use-it-and-how-to-write-it/). It gets used by assistive devices (like screen readers), search engines and machine learning / AI tools. Ideally you use ALT attributes to provide one or two sentences in plain text, explaining what your image is about. That way, people or machines who cannot view the image as you see it on the screen still have details explaining what the image is about.

For ProGallery 3, the exact setup of caption content depends on what image source you are using. Picking **Single Dragged Image** as an example, there is a dedicated box shown in the settings labelled **Caption Content**. Although plain _“lorem ipsum doler”_ text is shown to start with, you can replace this with your own text. Basic HTML tags like `<br>` for line breaks might work. However the presentation of this caption content would depend on what lightbox is used. Some of the lightboxes I list don’t support captions at all, or convert them to plain text. So your milage may vary.

What I did in Pro Gallery 4 was to completely rewrite the entire codebase for handling caption content and the lightbox. Taking a single image as an example, in edit mode you now have separate drop zones for both the thumbnail content and lightbox content. Any basic stacks can be dragged and dropped into either. This makes it really easy to load-in caption content with HTML or Markdown formatting applied. As can be seen in this screen grab, Pro Gallery 4 respects this formatting and displays things exactly as you want:

 ![Screenshot 2024-12-12 at 09.47.41](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/7/5/757d89965a6388dbffc21988b3fa98c313924133.jpeg)

You can do headings, paragraphs, lists, links and buttons. I’ve even seen someone do a shopping cart! It’ll handle it all, really easily for you. The caption content has a maximum width applied, to constrain content and keep things readable. All aspects of the caption alignment and styling can be changed within the settings.

As a side note, there’s some clever functionality built into the Pro Gallery 4 lightbox, to analyse the size of your image and caption content. The option is provided for you to have the lightbox automatically arrange the image and caption content for “best fit”. In other words, maximising the size of the image, while still ensuring the caption content fits on the screen. In some instances, this results in the caption content being placed to the right of the image, as can be seen here:

 ![Screenshot 2024-12-12 at 09.50.31](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/7/a/7aa49b06a80a9521a65c47729b8e21ea409f7d60.jpeg)

This provides a big upgrade in caption and lightbox capabilities, over what we had before. The artists and photographers currently testing and using Pro Gallery 4 have all unanimously said its brilliant for their portfolios.

---

<div class="post-metadata">

**Author:** ![Mathew](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mathew/32/2771_2.png) [@Mathew](https://forums.realmacsoftware.com/u/Mathew)\
**Post date:** [December 12, 2024, 11:42am UTC](https://forums.realmacsoftware.com/t/gallery-3-stack-captions-with-multiple-lines/45583/4 "2024-12-12T11:42:18Z")

</div>

Nicely done! Is Pro Gallery 4 available to purchase? I can’t tell for sure at the Stacks4Stacks website … it “seems” to be only Pro Gallery 3.

---

<div class="post-metadata">

**Author:** ![willwood](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@willwood](https://forums.realmacsoftware.com/u/willwood)\
**Post date:** [December 12, 2024, 12:16pm UTC](https://forums.realmacsoftware.com/t/gallery-3-stack-captions-with-multiple-lines/45583/5 "2024-12-12T12:16:36Z")

</div>

**As of December 2024** , Pro Gallery 4 is not publicly available yet. I’m waiting on Stacks Pro becoming available, before considering the release of anything else. There is near-zero interest in addons currently. Any release now would be largely overlooked. And to be brutally honest, I do not want any more of my code or ideas stolen by other developers during this doldrum period. Currently I’m only selling copies of Pro Gallery 4 privately to a few select / trusted people to use in the Stacks plugin. The same applies to several other completed addons I’m holding back on.

---

<div class="post-metadata">

**Author:** ![Mathew](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mathew/32/2771_2.png) [@Mathew](https://forums.realmacsoftware.com/u/Mathew)\
**Post date:** [December 12, 2024, 1:57pm UTC](https://forums.realmacsoftware.com/t/gallery-3-stack-captions-with-multiple-lines/45583/6 "2024-12-12T13:57:12Z")

</div>

Seems a reasonable approach. Thanks.

---

<div class="post-metadata">

**Author:** ![instacks](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/instacks/32/23339_2.png) [@instacks](https://forums.realmacsoftware.com/u/instacks)\
**Post date:** [December 13, 2024, 1:04pm UTC](https://forums.realmacsoftware.com/t/gallery-3-stack-captions-with-multiple-lines/45583/7 "2024-12-13T13:04:50Z")

</div>

> [@willwood](#):
>
> Assuming this is ProGallery 3 being discussed here

No, it isn’t. It’s [inStacks Software | Gallery Stack 3 - The most versatile and kick-ass Photo Gallery](https://instacks.com/stacks/gallery)

---

<div class="post-metadata">

**Author:** ![instacks](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/instacks/32/23339_2.png) [@instacks](https://forums.realmacsoftware.com/u/instacks)\
**Post date:** [December 13, 2024, 1:05pm UTC](https://forums.realmacsoftware.com/t/gallery-3-stack-captions-with-multiple-lines/45583/8 "2024-12-13T13:05:21Z")

</div>

> [@stevesots](#):
>
> I would like to create captions with a title followed by 2-3 lines

We found a solution here:

> **[Gallery 3: Captions with Line Breaks](https://stacks4all.com/t/gallery-3-captions-with-line-breaks/6884)**
>
> Hi there. I would like to create captions with a title followed by 3-4 lines: Title Line (preferably in bold) Line 2 Line 3 Line 4 I am currently entering info into the alt field but cannot figure a way to force line breaks. Also, I tried...
