Skip to content

Commit b431abc

Browse files
committed
wip: comment out attachments related code
1 parent 9df3187 commit b431abc

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/Models/Category.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff 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
// {

0 commit comments

Comments
 (0)