With the recent 3.2.0 update, how would I construct my product blueprint to have a Cover image where I can only select from my uploaded images? I think this was the default prior to 3.2.0 and it was working as intended before I updated.
I cannot figure out how to refactor my blueprint to make my Cover image section work again after the update.
mime: image/jpeg, image/png
Please rename the image accordingly and put a descriptive **Alt Text**.
label: Alt Text
So prior to updating, when I click the Cover, it will give me the option to select from the list of images already uploaded from my Images Tab.
With the current update, when I click the Cover, it opens the file blueprint.
I hope you get what I’m trying to say. Basically, I just want that if I click on the Cover, it will give me the option to select from all the images that were uploaded using my images tab.
You have a field called coverin your product.yml blueprint, but you are extending it with a section definition, which works (because the settings are similar) but is a bit confusing. You should in fact define a field in /site/blueprints/fields that you then extend.
Secondly, if you want to replace the cover file, you have to remove the current file before you can select a new one (because you have set max: 1 the “field” definition). Clicking on the image itself will bring you to the image view, that is correct. To prevent the user from uploading new files via the cover field, you can then set the upload property to false in your field definition (but it might make sense to also let the user upload images via that field since it facilitates the workflow).