There was an error while loading. Please reload this page.
1 parent d0d9292 commit e81859fCopy full SHA for e81859f
src/Models/Image.php
@@ -41,7 +41,7 @@ class Image extends Model implements HasMedia
41
use InteractsWithMedia, HasTranslations;
42
43
44
- public $translatable = ['title'];
+ public $translatable = ['title','description'];
45
46
protected $guarded = [];
47
@@ -71,7 +71,7 @@ public function registerMediaConversions(Media $media = null): void
71
public function imgurl()
72
{
73
if ($this->getMedia()->count() > 0) {
74
- return $this->getMedia()->first()->getUrl('ithumb');
+ return $this->getMedia()->first()->getUrl('gthumb');
75
} else {
76
return "no image";
77
}
0 commit comments