$thumb leads to bad alt-attribute


when i use the thumb function of kirby, it automatically adds the alt-attribute, which does not grant much information at all.

here is an example:
img src=“example.com/thumbs/418yvs2x4vl-f6fb87731af4463cc5cbf8febff83101.jpg” alt=“418yvs2x4vl-f6fb87731af4463cc5cbf8febff83101”

a) this needs a fix
b) is there a workaround?

You can set the alt value in the options array, alternatively, instead of letting the thumb function build the image tag, you can create the image tag yourself and use the thumb in the src attribute (just add ->url() at the end.

you are beautiful!

i couldn’t find that in the docs