Adding Attachment Display Settings in custom media frame

I made my own custom media frame :

$('.add').bind('click', function(event) {
    event.preventDefault();
    // Create the media frame.
    file_frame = wp.media.frames.file_frame = wp.media({
        title: 'Select image to insert',
        button: {
            text: 'Insert',
        },
        multiple: true 
    });
    file_frame.open();
});

It opens the media manager alright but Attachement display setting part is missing. How can i get that?

Related posts

Leave a Reply

1 comment