$page->hasImages()
Checks if the Files collection has any images
Return type
bool
Parent class
Example
What is an image file?
Kirby considers the following file types as images:
- jpeg
- jpg
- jpe
- gif
- png
- svg
- ico
- tif
- tiff
- bmp
- psd
- ai
- eps
- ps
Checks if the Files collection has any images
bool
Kirby considers the following file types as images: