thegetty / artists-things

"Artists' Things: Rediscovering Lost Property from Eighteenth-Century France", by Katie Scott and Hannah Williams
0 stars 0 forks source link

Add figures and figure callouts to pages #9

Closed geealbers closed 1 year ago

geealbers commented 1 year ago

The figures have been processed and are in the repo at a working 1000px size. They figures.yaml file is also complete. We need to add the figures to each essay, and use the ref shortcode to format the figure callouts. Note that the callouts are formatted to open the figures in the modal rather than to scroll to image on the page.

For callouts that reference images on other pages, we have two choices. We can either use a traditional anchor link and send people to the relevant page, or we can use the ref shortcode, but then also add the figure to the page, so that readers will be able to click to see the image without leaving the page. The later is probably ideal. It will meaning adding the figures with a shortcode (figuregroup would work) and then hiding these added images from view. The downside would be the added weight it's adding to the page, but assuming these other-page callouts aren't too numerous, it should be ok.

And for figure placement, look at the example of the Glasses entry. It shows each different kind of format/style an image can have. It also notably inserts the image to prioritize the overall look and flow of the page rather than putting the image as close to the callout as possible. This may prove slightly problematic in the PDF, but we should start with the Glasses example and see how it goes.

geealbers commented 1 year ago

Done with bd9a323 and others