File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed
Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -221,25 +221,25 @@ public function registerAttachmentCollections()
221221 });
222222 }
223223
224- /**
225- * Register image conversions
226- *
227- * @param Media|null $media
228- */
229- public function registerAttachmentConversions (Media $ media = null )
230- {
231- $ this ->addAttachmentConversion ('shareable_image ' )
232- ->width (1200 )
233- ->height (630 )
234- ->fit (Fit::Crop, 1200 , 630 )
235- ->performOnCollections ('featured_image ' );
236-
237- $ this ->addAttachmentConversion ('header_image ' )
238- ->width (1920 )
239- ->height (300 )
240- ->fit (Fit::Crop, 1920 , 300 )
241- ->performOnCollections ('featured_image ' );
242- }
224+ // /**
225+ // * Register image conversions
226+ // *
227+ // * @param Media|null $media
228+ // */
229+ // public function registerAttachmentConversions(Media $media = null)
230+ // {
231+ // $this->addAttachmentConversion('shareable_image')
232+ // ->width(1200)
233+ // ->height(630)
234+ // ->fit(Fit::Crop, 1200, 630)
235+ // ->performOnCollections('featured_image');
236+ //
237+ // $this->addAttachmentConversion('header_image')
238+ // ->width(1920)
239+ // ->height(300)
240+ // ->fit(Fit::Crop, 1920, 300)
241+ // ->performOnCollections('featured_image');
242+ // }
243243
244244// public function getPermalinkAttribute(): string
245245// {
You can’t perform that action at this time.
0 commit comments