Blog Sections Open

Using MultiPhotos to Link to a Page Instead of the Original Full-Size Image

Gallery data does not always have to point back to the image itself. Sometimes the better UX is to treat the image as a link to a related resource page.

Many gallery tools assume one default interaction: thumbnail to full-size image. But real projects often need something else. The old MultiPhotos question asked how to make a thumbnail lead to a page URL instead of opening the original large image.

Why This Matters

Once images become navigation elements rather than pure gallery assets, the output template needs to change meaning, not just styling.

The Better Approach

  • store or resolve the destination page explicitly
  • treat the image block as a link wrapper, not as a lightbox trigger
  • separate gallery behavior from navigation behavior in the template logic

This is a good example of where content structure matters: is the item just an image, or is it really a visual link to another content object? The answer should drive the template.

Newer post

Using Snippet Output as the Source for a TV Value

How to think about TV values that should come from computed logic rather than manual input, and when to generate them outside the TV itself.

Older post

Using Wayfinder When Your Menu Markup Must Match a Fixed HTML Design

How to approach Wayfinder when the designer hands over exact menu markup that does not match the default unordered-list structure.