定制 weboftalent/ss3gallery 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

weboftalent/ss3gallery

Composer 安装命令:

composer require weboftalent/ss3gallery

包简介

Forked and tweaked version of ss3 gallery

README 文档

README

Build Status Scrutinizer Code Quality Code Coverage Build Status codecov.io

Latest Stable Version Latest Unstable Version Total Downloads License Monthly Downloads Daily Downloads

Dependency Status Reference Status

codecov.io

Maintainers

##Introduction This gallery module enables bulk upload of images, and displays them using the jQuery plugin PrettyPhoto. It will by default try to import photographic metadata, including geographic location. A map can then be displayed along with the images from the photographic template.

Forked from https://github.com/OpticBlaze/ss3Gallery and adapted to use other modules from Web of Talent to aid rendering.

##Installation

composer require weboftalent/ss3gallery

##Usage ###Uploading Images

###Editing Images For showing the main point of interest in an image, it is highly recommended to install the Focus Point module (composer require jonom/focuspoint). Below is an example of editing an image so the main area of interest, the head of the statue, is not cropped out.

![Automatically cropped image of the statue, around it's centre. The head is all but missing.] (https://raw.githubusercontent.com/gordonbanderson/ss3gallery/master/screenshots/crop001.png "Automatically cropped image of the statue, around it's centre. The head is all but missing.") ![Edit the focus point, in the case the face of the statue] (https://raw.githubusercontent.com/gordonbanderson/ss3gallery/master/screenshots/crop002.png "Edit the focus point, in the case the face of the statue") ![Same image but with it's focus point now on the face of the statue] (https://raw.githubusercontent.com/gordonbanderson/ss3gallery/master/screenshots/crop003.png "Same image but with it's focus point now on the face of the statue")

##Templating ###Maps When rendering a GalleryPage simply have $Map in your template.

##Extensions ###MapExtension (Enabled by default) Images can have their location edited, and also imported if the GPS coordinates are present in the EXIF data.

To remove this functionality add the following to mysite/_config.php

GalleryImage::remove_extension('MapExtension')

###ImageMetaDataExtension (Enabled by default) Creates fields for a number of photographic metadata fields such as aperture, shutterspeed and film speed. Also imports EXIF data when an image is written to the database and EXIF data has not previously been read.

###LatestGalleryImagesExtension (Enabled by default) This simply adds a template method allowing one to get the latest N images from the database. This might be of use for say a 'Newest Images' widget.

###AttachedGalleryExtension This optional extension allows one to attach a GalleryPage to an existing page type and render it inline. One can add GalleryPages in 1 of 2 manners:

  • Use the tab 'Attached Gallery' and select a gallery existing elsewhere in the site.
  • Add child pages, as many as you wish, of type GalleryPage.
  • In the page template for the relevant page type, add <% include InlineGalleries %> where you want to the images to appear.

##Requirements

  • SilverStripe 3.1 or 3.2
  • Mappable module
  • Page With Image module
  • Portlets module

All of these are automatically installed by Composer.

Optionally:

  • Focus Point module - images can be cropped to say a square, but still have the main focus point of the image visible.

##TODO

  • It would be good to have versions of the template ready for popular frameworks such as Zurb Foundation or Bootstrap. I envisage likes of an extra tab containing a dropdown with a choice of templating/viewing library to use.

weboftalent/ss3gallery 适用场景与选型建议

weboftalent/ss3gallery 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 54 次下载、GitHub Stars 达 0, 最近一次更新时间为 2016 年 01 月 20 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「images」 「silverstripe」 「gallery」 「weboftalent」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 weboftalent/ss3gallery 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 weboftalent/ss3gallery 我们能提供哪些服务?
定制开发 / 二次开发

基于 weboftalent/ss3gallery 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 54
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-01-20