Keep your original files
The package does not upload or store images. Your application supplies the source file and decides whether it is available.
Admin Image creates URLs for named image variants, such as thumbnails, and delivers the requested version at a public address.
Variants for data tables, small thumbnails and larger previews are included. You can define more for your website.
The package does not upload or store images. Your application supplies the source file and decides whether it is available.
Choose the thumbnail variant for an article image and generate its URL. Your application supplies the original; the package delivers the selected variant.
<?php
$url = $imageUrls->url('cms.news', 'thumbnail', $imageId);Install the package with Composer. Its README covers any migrations and permission setup.
composer require johnnyxlemonade/admin-image:dev-mainjohnnyxlemonade/framework