bootstrap-fileinput
====================
[![Bower version](https://badge.fury.io/bo/bootstrap-fileinput.svg)](http://badge.fury.io/bo/bootstrap-fileinput)
[![Latest Stable Version](https://poser.pugx.org/kartik-v/bootstrap-fileinput/v/stable)](https://packagist.org/packages/kartik-v/bootstrap-fileinput)
[![License](https://poser.pugx.org/kartik-v/bootstrap-fileinput/license)](https://packagist.org/packages/kartik-v/bootstrap-fileinput)
[![Packagist Downloads](https://poser.pugx.org/kartik-v/bootstrap-fileinput/downloads)](https://packagist.org/packages/kartik-v/bootstrap-fileinput)
[![Monthly Downloads](https://poser.pugx.org/kartik-v/bootstrap-fileinput/d/monthly)](https://packagist.org/packages/kartik-v/bootstrap-fileinput)
An enhanced HTML 5 file input for Bootstrap 3.x with file preview for various files, offers multiple selection, and more. The plugin allows you a simple way to setup an advanced file picker/upload control built to work specially with Bootstrap CSS3 styles. It enhances the file input functionality further, by offering support to preview a wide variety of files i.e. images, text, html, video, audio, flash, and objects. In addition, it includes AJAX based uploads, dragging & dropping files, viewing upload progress, and selectively previewing, adding, or deleting files.
![File Input Screenshot](https://lh3.googleusercontent.com/-3FiEmc_okc4/VBw_d2LBAJI/AAAAAAAAAL8/KbVj5X9Dus0/w596-h454-no/FileInput.jpg)
This plugin was initially inspired by [this blog article](http://www.abeautifulsite.net/blog/2013/08/whipping-file-inputs-into-shape-with-bootstrap-3/) and [Jasny's File Input plugin](http://jasny.github.io/bootstrap/javascript/#fileinput). But the plugin has now matured with various additional features and enhancements to be a complete (yet simple) file management tool and solution for web developers.
> NOTE: The latest version of the plugin is v4.2.7 (dev-master). Refer the [CHANGE LOG](https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md) for details.
## Features
### File Input Features
1. The plugin will convert a simple HTML file input to an advanced file picker control. Will help fallback to a normal HTML file input for browsers not supporting JQuery or Javascript.
2. The file input consists of the following three sections with options and templates to control the display:
- **_file caption section_**: to display a brief information of the file(s) selected
- **_file action buttons section_**: to browse, remove, and upload files.
- **_file preview section_**: to display the selected files on client for preview (supports preview of image, text, flash, and video file types). Other file types will be displayed as normal thumbnails.
3. The plugin automatically converts an input with `type = file` to an advanced file picker input if you set its `class = file`. All options to the input can be passed as HTML5 `data` attributes.
4. Ability to select and preview multiple files. Uses HTML 5 File reader API to read and preview files. Displays the progress of files being being loaded onto the preview zone, in case many files are chosen.
5. Offers predefined templates and CSS classes which can be changed to style your file-input display as per your needs.
6. With **v1.5.0**, you can now configure the plugin to show an **initial preview of images/files** with **initial caption**
(more useful for record update scenarios). Refer the [`initialPreview`](https://github.com/kartik-v/bootstrap-fileinput/blob/master/README.md#initialpreview)
and [`initialCaption`](https://github.com/kartik-v/bootstrap-fileinput/blob/master/README.md#initialcaption) properties in the plugin options
section for configuring this.
7. Option to show/hide any or all of the following:
- caption section
- preview section
- upload button
- remove button
8. Customise the location of the target container elements to display the entire plugin, the caption container, the caption text, the preview container, preview image, and preview status.
9. For text file previews, autowrap the text to the thumbnail width, and show a wrap indicator link to display complete text on hover. You can customize the wrap indicator (which defaults to …).
10. Customise the messages for preview, progress, and files selected.
11. Upload action defaults to form submit. Supports an upload route/server action parameter for custom ajax based upload.
12. Triggers JQuery events for advanced development. Events currently available are `filereset`, `fileclear`, `filecleared`, `fileloaded`, and `fileerror`.
13. Disabled and readonly file input support.
14. Dynamically auto size the file captions for long file names exceeding container width.
15. Raise new `fileimageuploaded` event that fires after image is completely loaded on the preview container.
16. Autosize preview images when they exceed the size of the preview container.
17. Completely templatized and extensible to allow configuration of the file-input the way the developer wants.
18. Preview intelligence based on various file preview types. The inbuilt file support types are categorized as `image`, `text`, `html`, `video`, `audio`, `flash`, `object`, and `other`.
19. `allowedPreviewTypes`: You can now configure which all file types are allowed to be shown as a preview. This defaults to `['image', 'html', 'text', 'video', 'audio', 'flash', 'object']`. Thus all file types are treated as an object to preview by default. For exampleTo preview only `image` and `video`, you can set this to `['image', 'video']`.
20. `allowedPreviewMimeTypes`: In addition to `allowedPreviewTypes`, you can also control which all mime types can be displayed for preview. This defaults to null, meaning all mime types are supported.
>NOTE: With release 2.5.0 you can now control which file types or extensions are allowed for upload by setting `allowedFileTypes` and `allowedFileExtensions`.
21. `layoutTemplates`: Allows you to configure all layout template settings within one property. The layout objects that can be configured are: `main1`, `main2`, `preview`, `caption`, and `modal`.
22. `previewTemplates`: All preview templates for **each preview type** have been combined into one property, instead of separate templates for image, text etc. The keys are the formats as set in `allowedPreviewTypes` and values are the templates used for previewing. There are default prebuilt templates for each preview file type (`generic`, `image`, `text`, `html`, `video`, `audio`, `flash`, `object`, and `other`). The `generic` template is used only for displaying `initialPreview` content using direct markup.
23. `previewSettings`: Allows you to configure width and height for each preview image type. The plugin has default widths and heights predefined for each type i.e `image`, `text`, `html`, `video`, `audio`, `flash`, and `object`.
24. `fileTypeSettings`: Allows you to configure and identify each preview file type using a callback. The plugin has default callbacks predefined to identify each type i.e `image`, `text`, `html`, `video`, `audio`, `flash`, and `object`.
25. Replacing tags within templates has been enhanced. With this release it will automatically check for multiple occurrences of each tag to replace within a template string.
26. Manipulate events and add your own custom validation messages easily by returning output to abort uploads in any of the other events.
27. Support for translations and locales.
### File Upload Features
With release 4.0.0, the plugin now also includes inbuilt support for AJAX Uploads and selectively adding or deleting files. AJAX upload functionality are
built upon HTML5 FormData and XMLHttpRequest Level 2 standards. Most modern browsers do support this standard, but the plugin will automatically degrade to normal form based submission for unsupported browsers.
1. Add functionality for AJAX based UPLOAD using HTML5 FormDat
没有合适的资源?快使用搜索试试~ 我知道了~
PHP+HTML5响应式财经外汇喊单直播聊天室直播间系统源码
共2003个文件
js:1203个
css:292个
html:137个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 79 浏览量
2024-12-28
16:02:26
上传
评论
收藏 15.18MB ZIP 举报
温馨提示
源码描述:php网络直播聊天室源码HTML5财经直播聊天室系统喊单直播间系统源码,html5自适应手机, 1.美林云喊单直播系统,适用于,外汇,原油,行业的喊单直播 2.财票站直播,类似于好彩网,熊猫,快三,时是彩,**开奖直播,在线投注,美女直播 新增实用功能列表 也适用于彩票等行业 同时支持lamp和Inmp架构的系统 新增实用功能列表: 1.双击会员名称,可实现@对方,有话单独对他说图片显示如下 2.后台可开启发言审核功能,开启此功能后,前台登录房间管理员账户,即可对所有发言进行审核。审核之后,信息才会发 送到公共屏幕,而发言者自己不会察觉信息是审核过之后的。(发言者发言即时发送出去了,审核不审核他自己的屏幕显示 没有任何变化)。有效对所有发言过滤。觉得麻烦可以后台关闭此功能。 3.优化发言延迟问题,发言秒发。 4.前台皮肤可以自由更换。 5.后台可以增加会员。也可批量添加会员。 6.新增多账户互动功能,审核管理员可以同时以多个注册账号和游客身份互动
资源推荐
资源详情
资源评论
收起资源包目录
PHP+HTML5响应式财经外汇喊单直播聊天室直播间系统源码 (2003个子文件)
-λ+忙ο+_txt 83B
adjustment.as 3KB
adjustment.as 3KB
loadshare.as 2KB
loadshare.as 2KB
loadXml.as 2KB
loadXml.as 2KB
loadtext.as 1KB
loadtext.as 1KB
file_manager_json.ashx 6KB
upload_json.ashx 3KB
demo.aspx 2KB
.bowerrc 37B
ace.css 473KB
ace-rtl.css 149KB
bootstrap.css 144KB
bootstrap.css 144KB
bootstrap.css 144KB
bootstrap.css 144KB
bootstrap.css 144KB
bootstrap.css 138KB
bootstrap.css 132KB
ace-part2.css 129KB
bootstrap.min.css 120KB
bootstrap.min.css 120KB
bootstrap.min.css 120KB
bootstrap.min.css 120KB
bootstrap.min.css 120KB
bootstrap.min.css 115KB
bootstrap.min.css 115KB
ace-skins.css 99KB
animate.css 78KB
animate.css 78KB
animate.css 78KB
animate.css 78KB
animate.css 78KB
animate.min.css 56KB
animate.min.css 56KB
animate.min.css 56KB
animate.min.css 56KB
animate.min.css 56KB
jquery.mCustomScrollbar.css 52KB
font-awesome.css 34KB
datepicker.css 33KB
font-awesome.css 32KB
font-awesome.min.css 27KB
fa.icons.css 27KB
font-awesome.css 26KB
font-awesome.css 26KB
bootstrap-theme.css 26KB
bootstrap-theme.css 26KB
bootstrap-theme.css 26KB
bootstrap-theme.css 26KB
bootstrap-theme.css 26KB
bootstrap-switch.css 24KB
bootstrap-theme.min.css 23KB
bootstrap-theme.min.css 23KB
bootstrap-theme.min.css 23KB
bootstrap-theme.min.css 23KB
bootstrap-theme.min.css 23KB
bootstrap-theme.css 22KB
fullcalendar.css 22KB
select2-bootstrap.css 22KB
select2-bootstrap.css 22KB
select2-bootstrap.css 22KB
select2-bootstrap.css 22KB
select2-bootstrap.css 22KB
default.css 22KB
font-awesome.min.css 21KB
bootstrap-editable.css 21KB
bootstrap-social.css 20KB
bootstrap-switch.min.css 20KB
bootstrap-theme.min.css 19KB
select2-krajee.css 19KB
select2-krajee.css 19KB
select2-krajee.css 19KB
select2-krajee.css 19KB
select2-krajee.css 19KB
select2.css 19KB
jquery-ui.css 18KB
jquery.dataTables.css 17KB
select2-krajee.min.css 17KB
select2-krajee.min.css 17KB
select2-krajee.min.css 17KB
select2-krajee.min.css 17KB
select2-krajee.min.css 17KB
jquery.dataTables.min.css 15KB
select2-bootstrap.min.css 15KB
select2-bootstrap.min.css 15KB
select2-bootstrap.min.css 15KB
select2-bootstrap.min.css 15KB
select2-bootstrap.min.css 15KB
style.css 14KB
jquery.dataTables_themeroller.css 14KB
dataTables.jqueryui.css 13KB
ui.jqgrid.css 13KB
kv-grid.css 13KB
kv-grid.css 13KB
kv-grid.css 13KB
kv-grid.css 13KB
共 2003 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
资源评论
破碎的天堂鸟
- 粉丝: 9977
- 资源: 2943
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- VCSEL芯片,中国前5强生产商排名及市场份额(by QYResearch).pdf
- 办公型钢笔,全球前11强生产商排名及市场份额(by QYResearch).pdf
- 车库卷帘门,全球前16强生产商排名及市场份额(by QYResearch).pdf
- 机器人减速机,全球前10强生产商排名及市场份额(by QYResearch).pdf
- 低温真空泵,全球前8强生产商排名及市场份额(by QYResearch).pdf
- 钢制气瓶,全球前5强生产商排名及市场份额(by QYResearch).pdf
- 加工油,全球前10强生产商排名及市场份额(by QYResearch).pdf
- 瓶装水灌装设备,全球前7强生产商排名及市场份额(by QYResearch).pdf
- 氢燃料电池无人机,全球前8强生产商排名及市场份额(by QYResearch).pdf
- 全球功能纺织面料产业链,现状和趋势.pdf
- 全球轨道交通信号检测和监测各地区市场现状分析.pdf
- 全球吹雪机产业链,现状和趋势.pdf
- 全球轨道交通检测和监测市场现状分析.pdf
- 输送机托辊,全球前20强生产商排名及市场份额.pdf
- 全球轨道交通通信检测和监测各地区市场现状分析.pdf
- 压电堆叠执行器,全球前14强生产商排名及市场份额(by QYResearch).pdf
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功