Closed cwulfman closed 9 months ago
Each image page should include links to objects. The place to tinker is in the partials (in _layouts/item). These seem to be written in Liquid. In the compound_object.html partial, for example, there is a line that does filtering:
{% assign children = site.data[site.metadata] | where_exp: 'item','item.parentid == page.objectid' %}
There is some DSL at work here; need to find it. Then, presumably, this can be altered to filter by membership instead of equality.
Plan: use this AirTable extension to create table of images. Then create another table of Objects. Use AirTable to manage the relationships. Export from AirTable.
Airtable has been created. Maybe this could be the site?
We implemented the latest version using AirTable; Tom V. was satisfied.
In the current site, selecting an object (say, equestrian torso object 2135) shows you two images. Clicking on one of them (DSCN4078.JPG) takes you to a page showing the image, plus links to the two objects it depicts: 2135 and 2136.