weboftalent/ss3gallery
Composer 安装命令:
composer require weboftalent/ss3gallery
包简介
Forked and tweaked version of ss3 gallery
README 文档
README
Maintainers
- Gordon Anderson (Nickname: nontgor) gordon.b.anderson@gmail.com
##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 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 weboftalent/ss3gallery 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Laravel Nova field for distribute your images as array of object.
Pexels API Client for www.pexels.com
A module for the SilverStripe CMS which allows you to organize images in a gallery format.
Creates a basic photo gallery pagetype with albums and photos. Photos within albums are opened with a lightbox.
Quick gallery content block for Silverstripe CMS
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
统计信息
- 总下载量: 54
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-01-20