- Issue created by @rwsimmo
- πΊπΈUnited States ndewhurst USA
Hi rwsimmo - thanks for filing the issue. Sorry about the confusion. The Brandfolder browser will only appear when you configure a media entity reference field to use a core Media Library widget (in the "Manage Form Display" settings form for the entity/bundle where you're using the field). The README apparently needs to be fixed.
I've also more recently added support for the Entity Browser module as an alternative to Media Library.
We're also stabilizing and reconciling a number of different module versions. What Drupal and PHP versions are you currently using (and/or planning to use)? - Merge request !3Issue #3405306 update README to clarify Media Library widget, etc. β (Merged) created by ndewhurst
-
ndewhurst β
committed 35326dff on 2.0.x
Issue #3405306 update README to clarify Media Library widget, etc.
-
ndewhurst β
committed 35326dff on 2.0.x
- πΊπΈUnited States rwsimmo
Thanks for the reply Nathanael! I made the form display change you suggested. Now the node edit form displays an "Add Media" button and when the button is pressed, an "Add or select" dialog is displayed. The dialog displays some labels from Brandfolder but it says "No Brandfolder assets found."
I have detailed logging turned on and I am seeing 3 API calls made to Brandfolder for labels, collections, and assets. All 3 API calls are returning a status of 200.
In addition, I have tested the API calls in Postman the best I can and all 3 calls are returning data. However, I am not using the complex search parameter because I have not yet figured out how to enter that in Postman. For example:
"search":"(collection_key:(\"redacted\")) AND (section_key:(\"redacted\")) AND (filetype:(\"jpg\" OR \"png\" OR \"gif\" OR \"tiff\" OR \"svg\" OR \"webp\"))"
- πΊπΈUnited States rwsimmo
I forgot to add that I am testing the module using Drupal 9.5.10 and PHP 8.1. However, we are using Drupal 10 and PHP 8.1 on all of our production sites.
- πΊπΈUnited States rwsimmo
I am now getting images in the Brandfolder Media Browser. I had to adjust the Brandfolder collection and section in my Brandfolder Image Media Type to something with image types supported on the Drupal site.
- πΊπΈUnited States ndewhurst USA
Great to hear!
For our info, are there other image types not currently supported that you would hope to use as part of the integration?
Also, you can test on Drupal 10 now using the 5.0.x-dev branch/release. I'd be curious to get your feedback there. - Status changed to Fixed
about 1 year ago 8:17pm 10 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.