0

I just started using filepicker for a application and I want to know if it is allowed to change the standard look and feel of the upload modal, and custom content / CSS on it. If yes, then how ? I wasn't able to see any docs around that.

I am using the following code to invoke the modal (from the docs) -

 $('input[type="file"]#ajax-upload').click(function(e){
e.preventDefault();
var output = $("#ajax-upload-output");
filepicker.pick({
mimetypes: ['image/*'],
container: 'modal',
services:['COMPUTER', 'FACEBOOK', 'GMAIL'],
},
 function(FPFile){
console.log(JSON.stringify(FPFile));
output.html('Uploaded: '+FPFile.url+'');

filepicker.convert(FPFile,
        {width: 150, height: 150, fit:'crop', align:'faces'},
        function(bigfp) {
            $("#conversion-150").attr("src", bigfp.url);
    });

 },
 function(progress){
    output.text("Uploading... ("+progress+"%)");
},
 function(FPError){
console.log(FPError.toString());
 });

 });

Would truly appreciate any help.

Kind regards, Titash

4

1 回答 1

1

是的,您可以进入您的开发人员门户并添加 CSS 以与模态一起包含。它在自定义选项卡下

于 2013-01-07T20:01:01.053 回答