PHP code example of ty666 / picture-manager
1. Go to this page and download the library: Download ty666/picture-manager library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ty666 / picture-manager example snippets
Route::get('pic/{pictureId}_{style?}', function ($pictureId, $style = null) {
return PictureManager::init($pictureId, $style)->show();
});