Log in

HCMC Journal

LEMDO work 2022-11-07 to 2022-11-11

to : Martin Holmes
Minutes: 180

At the project meeting on Tuesday, PS outlined his recommendations for creating images for the site; we also discussed encoding practices, and we’re going to insist on having the actual width and height in the graphic element in the TEI, so we can supply it in the HTML for faster rendering. There are hundreds of instances of graphics without this, though, so on Wednesday I wrote some code which uses ImageMagick through a shell script to generate a list of all images and their dimensions, and XSLT which then uses this to check and correct graphic elements to make sure they have all the right dimensions. I’ll do more testing before running this across everything, but it looks pretty robust so far.