In DXPR Builder we are using Entity Browsers for managing and uploading files and images.

 

Default Entity Browser included in DXPR Builder

DXPR Builder includes a submodule called DXPR Media. This module installs an Entity Browser that is configured to share all Media with your Drupal platform. We recommend installing this module to get your Media Library up and running quickly. 

 

Switching Entity Browsers for DXPR Builder on your website:

  1. Go to the Configuration tab.

  2. Click Content Editing.
  3. Select DXPR Builder from the list.
  4. Find Media Browser tab.
  5. Now you can change Entity Browser from default to your favorite one.
  6. Once you’ve selected your preferred settings, you can click on Save and you're done!

 

Setting up a custom entity browser

Requirements for an Entity Browser to work with DXPR Builder:

  1. Must use iFrame view mode
  2. Must return File ID(s)* 

Steps to create your own Entity Browser to work with DXPR Builder 

  1. Ensure that Entity Browser module is installed.
  2. Go to Configuration tab.
  3. Select Content editing.
  4. Click Entity Browsers.
  5. The list of Entity Browsers provides the ability to edit them or create a new one.
  6. Click the Add Entity Browser button to create a new browser.
  7. Add a label for the new browser.
  8. Optionally, choose how the entity browser should be presented to the end users in the Display block. Choose either the iFrame view mode.
  9. Optionally, choose the Widget Selector plugin in the Widget Selector field for switching between the Uploading widget and the Display widget.
  10. Optionally, change the Selection Display plugin settings in the Selection Display block.
  11. Go to the Widget Settings tab.
  12. Optionally, choose a widget to add to Add widget plugin select list.
  13. Once you’ve selected your preferred settings, you can click on Save and you're done!