Skip to content
Module for improving automatic image cropping in SilverStripe. Adds simple art-direction control by allowing you to set and crop from a focus point instead of the centre point of an image.
Branch: master
Clone or download
Latest commit 7c51b37 Jun 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_config Ss4 improvements (#50) Jan 30, 2018
client FIX: Compatibility with SilverStripe 4.4 (closes #60) Jun 12, 2019
docs/en SilverStripe 4 upgrade Jan 16, 2018
lang Ss4 improvements (#50) Jan 30, 2018
screenshots Updated screenshot May 30, 2014
src Ss4 improvements (#50) Jan 30, 2018
templates/JonoM/FocusPoint Ss4 improvements (#50) Jan 30, 2018
tests Ss4 improvements (#50) Jan 30, 2018
.editorconfig Ss4 improvements (#50) Jan 30, 2018
.gitattributes Module standard updates Jul 24, 2016
.gitignore Ss4 improvements (#50) Jan 30, 2018
.scrutinizer.yml Update tests Jan 17, 2018
.travis.yml Fix Travis build Jun 12, 2019
README.md Ss4 improvements (#50) Jan 30, 2018
build-tools.md
changelog.md Ss4 improvements (#50) Jan 30, 2018
code-of-conduct.md
composer.json FIX: Compatibility with SilverStripe 4.4 (closes #60) Jun 12, 2019
contributing.md Ss4 improvements (#50) Jan 30, 2018
license.md SilverStripe 4 upgrade Jan 16, 2018
package.json FIX: Compatibility with SilverStripe 4.4 (closes #60) Jun 12, 2019
phpunit.xml.dist Update tests Jan 17, 2018
webpack.config.js Ss4 improvements (#50) Jan 30, 2018
yarn.lock FIX: Compatibility with SilverStripe 4.4 (closes #60) Jun 12, 2019

README.md

FocusPoint: Smarter Image Cropping for SilverStripe

Build Status Latest Stable Version Latest Unstable Version License

The goal of this module is to introduce some basic art direction to control how images are cropped in SilverStripe.

Problem: SilverStripe crops all images from the centre. If the subject is off-centre, it may be cropped out.

Solution: FocusPoint allows you to tag the subject in an image and ensures it is not lost during cropping.

Comparison of cropping with and without FocusPoint

Requirements

SilverStripe ~4 (SS 3.1+ support available in earlier releases)

Documentation

To Do

  • Internationalisation
  • Advanced cropping options and interfaces (may be an additional module)
  • Auto detect focus point via Imagga API

Maintainer contact

jonathonmenz.com

Sponsorship

I don't have much time to donate to open source work anymore but if you're willing to sponsor the development of new features or updates I'm very happy to talk to you - please get in touch.

Just want to say thanks? You're welcome to make a small donation.

Donate via PayPal

You can’t perform that action at this time.