timdiels1/photoswipe
Composer 安装命令:
composer require timdiels1/photoswipe
包简介
Fork for Drupal of the PhotoSwipe repository: JavaScript image gallery for mobile and desktop, modular, framework independent
README 文档
README
JavaScript image gallery for mobile and desktop.
- Documentation and getting started guide.
- Demo and script home page.
- NPM
npm install photoswipe. - Bower
bower install photoswipe.
Location of files
- Compiled PhotoSwipe JS and CSS files, SVG and PNG sprites are in the dist/ folder.
- Source files (.JS and .SCSS) are in the src/ folder. Note that PhotoSwipe uses Autoprefixer when compiling SASS files.
- Demo website is in the website/ folder.
- Documentation markdown files are in website/documentation/.
Plugins / extensions / addons
- Ruby gem.
- Ember.js addons: ember-photoswipe, ember-cli-photoswipe.
- Eager app.
- Koken CMS plugin.
- Orchard CMS module.
- Yellow CMS plugin.
- Kirby CMS plugin.
- Drupal CMF module.
- ProcessWire CMS module.
- SPIP CMS module.
- Fork CMS MediaLibrary widget.
Coded something useful? Email me and I’ll post a link to it here.
Build
To compile PhotoSwipe by yourself, make sure that you have Node.js, Grunt.js, Ruby and Jekyll installed, then:
-
Clone the repository
-
Go inside the PhotoSwipe folder that you fetched and install Node dependencies
cd PhotoSwipe && npm install
-
Run
gruntto generate the JS and CSS files in thedistfolder and the site in the_site/foldergrunt
Optionally:
- Run
grunt watchto automatically rebuild files (JS, CSS, demo website and documentation) when you change files insrc/or inwebsite/. - Run
grunt nositeto build just JS and CSS files (output is folderdist/). - Run
grunt pswpbuildto build just JS files. Param--pswp-excludeallows to exclude modules, for examplegrunt pswpbuild --pswp-exclude=historywill exclude history module.
Using PhotoSwipe?
If you’ve used PhotoSwipe in some interesting way, or on the site of a popular brand, I’d be very grateful if you shoot me a link to it.
License
Script is licensed under MIT license with one exception: Do not create a public WordPress plugin based on it, as I will develop it. If you need to use it for a public WordPress plugin right now, please ask me by email first. Thanks!
Attribution is not required, but much appreciated, especially if you’re making a product for developers.
About
PhotoSwipe 4.0+ is developed by Dmitry Semenov. But initially script was created in 2011 by Code Computerlove, a digital agency in Manchester, they passed on development in March 2014. You can view source and documentation of old PhotoSwipe (<4.0) in history of this repo.
timdiels1/photoswipe 适用场景与选型建议
timdiels1/photoswipe 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 3.56k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 04 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 timdiels1/photoswipe 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 timdiels1/photoswipe 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-11