mjordan / islandora_workbench

A command-line tool for managing content in an Islandora 2 repository
MIT License
24 stars 41 forks source link

Add ability to update image alt text in 'update' task #166

Open mjordan opened 3 years ago

mjordan commented 3 years ago

Currently it's only available in "create" tasks.

rosiel commented 1 year ago

I presume it's not available in "add_media" tasks either?

mjordan commented 1 year ago

Correct.

dmer commented 1 week ago

Hi just wanted to clarify - using this image_alt_text column will allow one to provide alt-text to images coming in via the "file" column only? I had a question from someone wondering if they could include alt-text for thumbnails (coming in as additional media in a "thumbnails" column.)

mjordan commented 1 week ago

Hi @dmer I have to admit this issue dropped below my radar. Sorry about that. But, to answer your question, yes, I think that the ability to add alt text to images will need to work only with the files in the file column. Otherwise we will need to figure out a way to relate, the in input CSV, a particular column of alt image text with the additional_media files.

One of the issues is that for thumbnails generated by Islandora as derivatives on ingest of the original file, Workbench doesn't know when a derivative has been created so it can't therefore add any additional metadata like alt text.

For thumbnails that are being created on their own using an add_media task, assuming that the thumbnail file is in the input CSV's file column, it should be possible to have Workbench add the alt text. For update_media tasks applied to thumbnails, it should also be possible to have Workbench add the alt text.

dmer commented 1 week ago

Thanks @mjordan that's helpful information. It seems like one can achieve the desired result w/ the add_media or update_media.