I'm using plupload plugin to let user drag and drop images in input[file]
. Default thumbnail size is 100x60. How can i change this size to another? My init code is:
$("#uploader1").plupload({
// General settings
runtimes : 'html5,flash,silverlight,html4',
url : '../upload.php',
max_file_count: 1,
chunk_size: '1mb',
filters : {
// Maximum file size
max_file_size : '1000mb',
// Specify what files to browse for
mime_types: [
{title : "Image files", extensions : "jpg,gif,png"},
{title : "Zip files", extensions : "zip"}
]
},
sortable: false,
dragdrop: true,
views: {
list: true,
thumbs: true, // Show thumbs
active: 'thumbs'
},
// Flash settings
flash_swf_url : '../../js/Moxie.swf',
// Silverlight settings
silverlight_xap_url : '../../js/Moxie.xap'
});
This widget has the thumb_width
and thumb_height
options to customize the thumbnail size. Check out Allow users to make thumbnails larger in the UI Widget.
$("#uploader1").plupload({
// Your settings
thumb_width: 200,
thumb_height: 120
});