Replies: 1 comment
-
sorry, the issue was from my coding typo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i am registering my model for single file like this
public function registerMediaCollections(): void
{
$this->addMediaCollection('blog-main-pictures')
->acceptsMimeTypes(['image/jpeg', 'image/svg+xml', 'image/png', 'image/webp'])
->singleFile();
}
when I update the picture it does not remove old one and adds new image.
I found out that it keeps adding more image to collection instead,
(NOTE: I am not using the queue and I migrated from V 9 )
Beta Was this translation helpful? Give feedback.
All reactions