Blog Sections Open

Paginating EvoGallery Output and Opening Images with Fancybox

Gallery pages often need both browsing and viewing: pagination for the list and a lightbox for the image itself.

The donor described a gallery where only part of the image set should appear on each page, while the thumbnails still opened through a lightbox such as Fancybox.

The practical goal

  • show a limited number of images per page
  • keep page navigation visible and predictable
  • open the selected image without forcing a full page transition

This is a good reminder that galleries have two separate concerns: the listing of items and the viewing of one item. Pagination solves the first. Fancybox or another lightbox solves the second. Keeping those concerns separate usually leads to a much cleaner gallery implementation.

Newer post

Building a “Recently Viewed Products” Snippet in Evolution CMS

How to track recently viewed products with session data in Evolution CMS and render a simple block of viewed items on product pages.

Older post

Showing Parent Resource Titles in AjaxSearch Results

How to enrich AjaxSearch result templates with parent resource data so the result list shows more context than the matched page title alone.