WIP
This commit is contained in:
@@ -34,7 +34,7 @@ trait ProductMedia
|
||||
/**
|
||||
* Thumbnail
|
||||
*/
|
||||
public function thumbnail(string $size = '200x200'): string
|
||||
public function thumbnail(string $size = '400x400'): string
|
||||
{
|
||||
return $this->getFirstMediaUrl('uploads', 'thumb'.$size);
|
||||
}
|
||||
@@ -42,7 +42,7 @@ trait ProductMedia
|
||||
/**
|
||||
* Get image when hovered (returns second image)
|
||||
*/
|
||||
public function getHoverImage(string $size = '270x350'): string
|
||||
public function getHoverImage(string $size = '400x400'): string
|
||||
{
|
||||
$media = $this->getMedia('uploads');
|
||||
$image_count = $media->count();
|
||||
|
||||
Reference in New Issue
Block a user