mirror of
https://github.com/flextype/flextype.git
synced 2025-08-10 23:24:04 +02:00
Flextype Core: Glide/Intervention Image Implementation #61
This commit is contained in:
@@ -121,13 +121,14 @@ class Images
|
||||
* Get image
|
||||
*
|
||||
* Images::get('page-name/image.jpg', [w => '200']);
|
||||
* http://glide.thephpleague.com/1.0/api/quick-reference/
|
||||
*
|
||||
* @access public
|
||||
* @param string $path Image path
|
||||
* @param array $params Image params
|
||||
* @return string Returns the image url
|
||||
*/
|
||||
public static function get($path, $params)
|
||||
public static function get($path, array $params)
|
||||
{
|
||||
return Http::getBaseUrl().'/site/cache/glide/'.Images::$server->makeImage($path, $params);
|
||||
}
|
||||
|
Reference in New Issue
Block a user