This commit is contained in:
Mekan1206
2026-02-19 00:35:01 +05:00
parent 9071c9a4c6
commit fac624b2a5
13 changed files with 13 additions and 23 deletions

View File

@@ -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();