In a comment on the Glyph Management proposal, @michaelnmmeyer said:
To be noted that images and other assets, if they are reasonably small, can be
published online by placing the correspond files somewhere under
project-documentation/website. If the image is at project-documentation/website/myimages/hello.png, it is accessible online at the address https://dharmalekha.info/myimages/hello.png
I would very much like to use this, and nothing else, for adding images to the authority file. We'll have to limit pixel size and I don't foresee a large number of images (since nobody will want to curate many), so I don't think we need worry about the size of the repository. I propose the following details.
- All symbol images must be exactly 150×300 pixels and in PNG format. Anyone who uploads a symbol image will have to crop and resize their image and save it in the correct format.
- EDIT (20260416): having looked at the clippings in our Symbol Taxonomy gdoc, I realise that most of our images are way smaller than this, and that they vary a lot in width. Therefore instead of 150 wide and 300 tall, I propose that all graphics should be exactly 150 pixels tall, and of any width not exceeding 300 pixels
- Symbol images will be stored at
project-documentation/website/glyphs/. It seems that I cannot create new folders under project-documentation, so if agreed, please create this folder.
- Once the folder is in existence, members wishing to contribute a glyph image can drop it in that git folder.
- For filenames, I propose the format {token}_## (i.e. the glyph token followed by an underscore and a two-digit number), possibly prefixed by DHARMA_SYM or something - I need a PI word on this before a decision is made.
- When someone uploads a glyph image to this repository, they will also have to add a reference to it in the authority file, taking the format
<graphic url="https://dharmalekha.info/glyphs/token_01.png"/>
A bonus question to @michaelnmmeyer : would it be possible to not show the images by default and instead show a link to expand/collapse all images under a particular token? If someone just wants to scroll or page through the document, images may be a bother. The way you've set up the authority file, there is no separate container for the image files, but perhaps this could be done for the <label>extra</label><item/> as a whole? E.g. instead of the contents of this item, display "Show more...", clickable to expand, with the expanded view ending with "Show less" clickable to collapse. (Or instead, use <label>graphic</label><item/> only for images, with expand/collapse, and keep <label>extra</label><item/> for text.)
In a comment on the Glyph Management proposal, @michaelnmmeyer said:
I would very much like to use this, and nothing else, for adding images to the authority file. We'll have to limit pixel size and I don't foresee a large number of images (since nobody will want to curate many), so I don't think we need worry about the size of the repository. I propose the following details.
project-documentation/website/glyphs/. It seems that I cannot create new folders under project-documentation, so if agreed, please create this folder.<graphic url="https://dharmalekha.info/glyphs/token_01.png"/>A bonus question to @michaelnmmeyer : would it be possible to not show the images by default and instead show a link to expand/collapse all images under a particular token? If someone just wants to scroll or page through the document, images may be a bother. The way you've set up the authority file, there is no separate container for the image files, but perhaps this could be done for the
<label>extra</label><item/>as a whole? E.g. instead of the contents of this item, display "Show more...", clickable to expand, with the expanded view ending with "Show less" clickable to collapse. (Or instead, use<label>graphic</label><item/>only for images, with expand/collapse, and keep<label>extra</label><item/>for text.)