Tobias Möritz
Tobias Möritz
You can use the same options as the multiselect field: https://getkirby.com/docs/reference/panel/fields/multiselect
any update? :)
Still an issue, tried any ideas from this thread but none worked.
You could implement a limit option and use [`mb_strcut`](https://www.php.net/manual/en/function.mb-strcut.php) in [`pageToText()`](https://github.com/johannschopplich/kirby-algolia-docsearch/blob/main/AlgoliaDocSearch.php#L225)
If it happens with AVIF, your PHP version is most likely not compiled/not supported to support AVIF.
I know. But in this case, please add your own check.
When you crop an image, you get a FileVersion class, which doesn't support file methods and hence you can't create a thumbhash out of a cropped image. In order to...
You could try modifying the line like this and still have ratio/crop support: `'crop' => isset($options['ratio']),`
Then just set it to false.
Try replacing the script with the following: https://gist.github.com/tobimori/78eb776ad7fe5e1a608b2d1121fb9d66 Does the error still occur with that?