Custom Image Library


Not Recommended

This will take full control of all Upload Image buttons in the editor. If you want to give users a way to pick their uploaded images, try User Uploads which puts uploaded images in the Uploads tab.

If you want to take full control of the image uploading and management, you can use the following callback.

unlayer.registerCallback('selectImage', function (data, done) {
  // Open your image library
  // Once a user picks an image, call the done function with URL
  done({ url: "IMAGE URL GOES HERE" });

Full Example


You can try the full example of custom image library: Custom Image Library Example

What’s Next