add shipping rules
This commit is contained in:
@@ -19,6 +19,7 @@ trait Imageable
|
||||
public static function getThumb($image, $with_undefined = true)
|
||||
{
|
||||
$src = self::getThumbSrc($image, $with_undefined);
|
||||
|
||||
return $src ? "<img src='$src'>" : '';
|
||||
}
|
||||
|
||||
@@ -30,6 +31,7 @@ trait Imageable
|
||||
public static function getPreview($image, $with_undefined = true)
|
||||
{
|
||||
$src = self::getPreviewSrc($image, $with_undefined);
|
||||
|
||||
return $src ? "<img src='$src' class='img-fluid'>" : '';
|
||||
}
|
||||
|
||||
@@ -41,6 +43,7 @@ trait Imageable
|
||||
public static function getNormal($image, $with_undefined = true)
|
||||
{
|
||||
$src = self::getNormalSrc($image, $with_undefined);
|
||||
|
||||
return $src ? "<img src='$src'>" : '';
|
||||
}
|
||||
|
||||
@@ -52,6 +55,7 @@ trait Imageable
|
||||
public static function getImage($image, $with_undefined = true)
|
||||
{
|
||||
$src = self::getImageSrc($image, $with_undefined);
|
||||
|
||||
return $src ? "<img src='$src' class='img-fluid'>" : '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user