menu 8 Menu Overview $asset->__toString() Converts the file object to a string In case of an image, it will create an image tag Otherwise it will return the url $asset->__toString(): string Return type string Source code kirby/src/Cms/FileFoundation.php#L64