Open Files In Colorbox

Created on 24 February 2022, over 2 years ago
Updated 1 August 2023, 11 months ago

First off, thanks for the module.

Problem/Motivation

When a Directory Item "ex.jpg" is clicked to view/open, is there a way to open the file in colorbox.
I don't want the entire directory to load in colorbox, just the end file that is clicked to view.

Steps to reproduce

Download, enable and configure as normal. Create a node->type Directory Listing
View your new listing. Click an image file. I'd like to open them in Colorbox.

Proposed resolution

I've played around with adding "data-colorbox-inline" to filebrowser-grid-item.html.twig with targets and I get some funky results.
Colorbox is getting called. I just want the file to load in colorbox when clicked.

Any guidance is appreciated.

πŸ’¬ Support request
Status

Closed: works as designed

Version

3.0

Component

Directory Listing Pages

Created by

πŸ‡¨πŸ‡¦Canada Hooligan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024