All Projects → kevindesousa → Vue Image Loader

kevindesousa / Vue Image Loader

Licence: mit
Vue progressive image loader plugin like Medium

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vue Image Loader

Mui Vue2
mui+mint+vue2.x+vue-router+vuex+webpack最终打包成原生apk的app项目,样式使用vue移动端mint ui框架,原生手机能力偏重于mui框架,欢迎star!
Stars: ✭ 278 (+491.49%)
Mutual labels:  vue-components, vuejs2, vue2
Vue Share Buttons
🔗A set of social buttons for Vue.js
Stars: ✭ 34 (-27.66%)
Mutual labels:  vue-components, vuejs2, vue2
Vue Cnodejs
基于vue.js重写Cnodejs.org社区的webapp
Stars: ✭ 3,065 (+6421.28%)
Mutual labels:  vue-components, vuejs2, vue2
vue-notification-bell
Vue.js notification bell component.
Stars: ✭ 64 (+36.17%)
Mutual labels:  vuejs2, vue-components, vue2
Vuelayers
Web map Vue components with the power of OpenLayers
Stars: ✭ 532 (+1031.91%)
Mutual labels:  vue-components, vuejs2, vue2
Tui
This is a high quanlity components library for VUE
Stars: ✭ 258 (+448.94%)
Mutual labels:  vue-components, vuejs2, vue2
Semantic Ui Vue
Semantic UI integration for Vue
Stars: ✭ 914 (+1844.68%)
Mutual labels:  vue-components, vuejs2, vue2
Vue Objccn
🔥 Use Vue.js to develop a cross-platform full stack application / 用 Vue.js 开发的跨三端应用
Stars: ✭ 1,993 (+4140.43%)
Mutual labels:  vue-components, vuejs2, vue2
Vue Touch Ripple
👆 Touch ripple component for @vuejs
Stars: ✭ 443 (+842.55%)
Mutual labels:  vue-components, vuejs2, vue2
Vue Gl
Vue.js components rendering 3D WebGL graphics reactively with three.js
Stars: ✭ 434 (+823.4%)
Mutual labels:  vue-components, vuejs2, vue2
Vue Form Json Schema
Create forms using JSON schema. Bring your components!
Stars: ✭ 253 (+438.3%)
Mutual labels:  vue-components, vuejs2, vue2
Vue Snotify
Vuejs 2 Notification Center
Stars: ✭ 755 (+1506.38%)
Mutual labels:  vue-components, vuejs2, vue2
Vuemmerce
👉 Responsive ecommerce template 🛒 built with Vue.js and Nuxt.js
Stars: ✭ 223 (+374.47%)
Mutual labels:  vue-components, vuejs2, vue2
Vuejs Component Style Guide
Vue.js Component Style Guide
Stars: ✭ 2,796 (+5848.94%)
Mutual labels:  vue-components, vuejs2, vue2
V Bar
The virtual responsive crossbrowser scrollbar component for VueJS 2x
Stars: ✭ 216 (+359.57%)
Mutual labels:  vue-components, vuejs2, vue2
Quasar
Quasar Framework - Build high-performance VueJS user interfaces in record time
Stars: ✭ 20,090 (+42644.68%)
Mutual labels:  vue-components, vuejs2, vue2
Vue Ui For Pc
基于Vue2.x的一套PC端UI组件,包括了Carousel 跑马灯、Cascader 级联、Checkbox 多选框、Collapse 折叠面板、DatePicker 日期选择、Dialog 对话框、Form 表单、Input 输入框、InputNumber 数字输入框、Layer 弹窗层、Loading 加载、Menu 菜单、Page 分页、Progress 进度条、Radio 单选框、SelectDropDown 仿select、Switch 开关、Table 表格、Tabs 标签页、Textarea 文本框、Tooltip 文字提示、BackTop 返回顶部、steps 步骤条、Transfer 穿梭框、Tree 树形、Upload 文件上传、Lazy 图片懒加载、Loading 加载、Pagination 分页等等
Stars: ✭ 156 (+231.91%)
Mutual labels:  vue-components, loading, vuejs2
Vue Codemirror
⌨️ @codemirror component for @vuejs
Stars: ✭ 2,115 (+4400%)
Mutual labels:  vue-components, vuejs2, vue2
Vue Video Player
🎞 @videojs component for @vuejs
Stars: ✭ 4,026 (+8465.96%)
Mutual labels:  vue-components, vuejs2, vue2
Vuesax
New Framework Components for Vue.js 2
Stars: ✭ 5,293 (+11161.7%)
Mutual labels:  vue-components, vuejs2, vue2

vue-image-loader

Vue progressive image loading plugin

alt tag

Article here : https://www.kevindesousa.me/vue-image-loader/

Installation

$ npm install @kevindesousa/vue-image-loader

Usage

import Vue from 'vue'
import VueImageLoader from '@kevindesousa/vue-image-loader'

Vue.use(VueImageLoader)

Progressive loader image

Instead of using the normal img tag to load images

<img src="https://images.pexels.com/photos/33109/fall-autumn-red-season.jpg?fit=crop&crop=entropy&w=3456&h=2304" />

use the image-loader component already globally available after the plugin installation

<image-loader
  src="https://images.pexels.com/photos/33109/fall-autumn-red-season.jpg?fit=crop&crop=entropy&w=3456&h=2304"
  width="864px"
  height="476px" />

Placeholders

To be able to immediately show some feedback to the user, it is possible to pass a placeholder image, which could be also 1% the size of the main image: it will be blurred so you can go crazy with optimizations here.

in this example I actually use the same image, but you have the idea here

<image-loader
  src="https://images.pexels.com/photos/33109/fall-autumn-red-season.jpg?fit=crop&crop=entropy&w=3456&h=2304"
  placeholder="https://images.pexels.com/photos/33109/fall-autumn-red-season.jpg?w=100"
  width="864px"
  height="476px"
/>

Issues and features requests

Please drop an issue, if you find something that doesn't work, or a feature request at https://github.com/kevindesousa/vue-image-loader/issues

Follow me on twitter @kevin_desousa

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].