I mistakenly renamed a custom module before uninstalling it so this query fixed the runtime error. Thank you.
This issue is nearly 3 years old, but documentation for Colorbox gallery support still isn't included on the project page or in the README.md.
In the meantime, the process is super straightforward. Simply add the attribute "data-colorbox-gallery" to each anchor tag with whatever name for the gallery. E.g. data-colorbox-gallery="image-gallery"
Be sure the "data-colorbox-inline" attribute is unique and matches the id of the link. For instance, I appended the media file ID.
Colorbox will handle grouping all the images together in a gallery and add the appropriate pagination links.
To define the caption that appears in the lower left-hand corner, simply add a "title" attribute to the anchor tag.
Here's a complete example using replacement tokens in "Rewrite results":
<a data-colorbox-inline="#data-image-{{ value_2 }}" data-colorbox-gallery="image-gallery" title="{{ value_3 }}"><img alt="data-image-{{ value_2 }}" data-entity-type="file" date-entity-uuid="" id="data-image-{{ value_2 }}" src="{{ value_1 }}" /></a>
Be sure to exclude all the field values except for the image thumbnail.
johnhanley β created an issue.
I came across this anomaly after installing this otherwise useful module.
I untick the "Hide line operations" checkbox, but the "Add" link is still displayed underneath the table (when logged in as admin.)
I agree with the OP. This is counterintuitive when setting field options on the "Manage display" page. Disabling this link should be possible through the interface. Suggesting the link be hidden with CSS seems like a clunky workaround to me.
In fact, one could argue that providing this type of functionality is beyond the scope of this module's intend purpose.
This is one of the compromises of using a shared hosting environment.
In the process of upgrading from Drupal 9 to Drupal 10 using SiteGround, I ran into the same issues regarding the PHP versioning and the suggestions here proved to be insightful. To their credit, SiteGround's technical support people were extremely helpful.
I just ran into the infamous "maximum file size" bug when attempting to Ajaxify a Views exposed filter form field with Drupal 9.5.3. I applaud the efforts to resolve this issue and look forward to a final solution.