first commit
This commit is contained in:
16
common/ImageHelper.php
Normal file
16
common/ImageHelper.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace app\common;
|
||||
|
||||
class ImageHelper
|
||||
{
|
||||
public static function imageMogr2H480(string $imageUrl): string
|
||||
{
|
||||
return "{$imageUrl}-h480";
|
||||
}
|
||||
|
||||
public static function imageMogr2H1080(string $imageUrl): string
|
||||
{
|
||||
return "{$imageUrl}-h1080";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user