Reference search
Results for "images"
Search results focus on framework reference pages. Open a result when you need the full explanation, or use the quick answer below when it matches what you are trying to build.
Quick answer
Render images in views
Use ImageHandler with the options-array API so image URLs respect PUBLIC_URL_PREFIX and optional img attributes stay safe.
<?= \CorianderCore\Core\Image\ImageHandler::render('/public/assets/img/logo.png', [
'alt' => 'Site logo',
'class' => 'h-10 w-auto',
'loading' => 'lazy',
]); ?>
Reference
Start Here
View Overview
..., dashboards, forms, permissions, or database content.Open guideAssetsImages, public files, PUBLIC_URL_PREFIX handling, or ImageHandler.Open guide Static Views Read Static View Gui...
Dynamic View Guide
...ute parameters, validation errors, or permission flags.Use Assets And Images when rendering images with framework asset-path handling.
Static View Guide
...sentation markup only. A static view is a good place for text, links, images, and sections that do not require PHP data. Configure Metadata Edit public/public_views/about/metadata....