Customizing the File Selector Button

If you are already using the default Image Relay File Selector in other applications, you may edit the preconfigured Image Relay file selector button.

You may call the selector javascript API yourself to launch the selector popup as follows:

var options = { 
clientId: "12m3hejtzk75surtlhm4idzge2h2y90",
linkType: "embed",
domain: ''

var irSelect = new ImageRelaySelector(options);

irSelect.success(function(response) {

irSelect.cancel(function() {
console.log("user clicked cancel");

// This will launch the popup

Did this answer your question?