Compound objects "multiple" icon #140
-
Reference webpage and code: -- Hello and thank you for your work. As stated in the documentation:
I'm creating a business card collection that uses "multiple" items to store 2 images (front and back of the business card). I would like to set the front image as the default in visualizations instead of the current icon showed: Wanted behaviour Instead of that icon, use the first image of the "multiple" item, or any image specified by user in metadata. What I already tried
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@SergioAlias it is technically possible to customize CB-GH to implement what you are asking, but it will involve editing parts of every page layout. Honestly, the easiest approach would be to use collectionbuilder-csv instead, which supports what you want by default. Migrating into to CB-CSV from -GH is pretty straightforward. All the configuration and metadata that you have in your current project are transferable into a CB-CSV project. The main difference is that CB-CSV adds the columns "object_location", "image_thumb", and "image_small" to the metadata, instead of using the "filename" field that CB-GH depends on. Building a CB-CSV project on github pages is pretty straightforward now too (just barely more difficult than standard GH Pages!). |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for your quick response @evanwill ! It looks like I completely misunderstood what a CB template is, so I was discarding the one without GH in the name before looking more in-depth. I'll migrate my project. Thanks! |
Beta Was this translation helpful? Give feedback.
@SergioAlias it is technically possible to customize CB-GH to implement what you are asking, but it will involve editing parts of every page layout. Honestly, the easiest approach would be to use collectionbuilder-csv instead, which supports what you want by default.
Migrating into to CB-CSV from -GH is pretty straightforward. All the configuration and metadata that you have in your current project are transferable into a CB-CSV project. The main difference is that CB-CSV adds the columns "object_location", "image_thumb", and "image_small" to the metadata, instead of using the "filename" field that CB-GH depends on.
CB-GH does not use thumbnails, instead using the full sized image for as …