This may have been posted within the old forum. In the Languages section of the Kirby Docs, I noticed that there was a section discussing the translation of file meta information. In it there was example with a file, myimage.jpg, having accompanying meta files such as myimage.jpg.en.txt ect.
The meta information I want to add to these txt files are not something you could find using $exif as they are custom graphics I’m exporting out of Illustrator. I would like to add to these meta files, such as myimage.jpg.en.txt, info such as author, copyright, liciencing, caption ect.
Can these meta files be produced within the panel or do I have to add them manually to its respective folder in /content? If this can’t be done, is there a plugin fo this. If not, is this something that would be worthy of a plugin?
Yes, the fields have to be added to each individual blueprint. You can use global field definitions, so that there’s less code in each file.
@thguenther I my opinion it doesn’t make sense to add the same alt attribute to all images, since it doesn’t add any additional value, it would be better to leave the value empty, if not meta data exists?
@texnixe I think I didn’t understand the question correctly. I thought about using an alt tag for all images, not all blueprints.
But if I remember correctly, an alt tag should not be empty. Not sure how this affects the ranking or anything, but I sometimes provide the website or page title as the fallback. That might not be ideal, though.
No, from what I have read regarding accessibility and screen readers etc. it doesn’t make sense to add a value to an image if it is purely decorational for example, or if the value doesn’t add any value. In such cases, it is better to leave the alt attribute empty (not remove it completely, though).