A customizable filepicker with html5-based imagepreview. Works out-of-the-box with bootstrap and jquery-ui.
Create a collapsible filepicker using bootstrap
Although recommended way of customizing markup is by using a style-template, you can handle rendering on your own by making use of the 'renderUI'- and 'renderPreview'-callbacks