[Bug]: Default image is not propagated to items with no images
Before reporting
- [x] I am running the latest version of DVinyl.
- [x] I searched the existing issues and did not find a duplicate.
What happened?
When an item is added to a custom collection the default collection image is show in the preview window. After filling in the required fields without adding any image, the "d" image is saved with the item and not the default image.
Steps to reproduce
See above
Expected behavior
No response
DVinyl version
3.1.5
How are you running DVinyl?
Docker (pre-built image)
Affected media type or plugin
Custom plugin
Browser and device
No response
Logs or screenshots
Thanks for the report! I found where this is coming from... it was introduced with the new image gallery system in v3.1.5. The default image is shown correctly in the preview, but after saving, the generic DVinyl image is mistakenly treated as the item’s actual image instead. Oops
I’ll get a fix ready 👍
Hi! I just released version 3.2.0, which fixes this, thanks to @ArtwoXYZ :D
An item of a custom collection saved without a picture shows the collection's default image again, on its page and on the cards, instead of the DVinyl logo. It was a leftover from the gallery rework in 3.1.5.
Feel free to reopen the issue if you run into any problems!