Giter VIP home page Giter VIP logo

xmarkclx / silverstripe-focuspoint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonom/silverstripe-focuspoint

0.0 2.0 0.0 419 KB

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.

License: MIT License

PHP 85.39% CSS 5.98% JavaScript 6.61% Scheme 2.02%

silverstripe-focuspoint's Introduction

What's in this fork?

Forked by @xmarkclx to allow Composer support for Silverstripe 3.4.

To use, on composer.json, add:

"repositories": [
	    {
	        "type":"package",
	        "package": {
	          "name": "jonom/focuspoint",
	          "version":"master",
	          "source": {
	              "url": "https://github.com/xmarkclx/silverstripe-focuspoint.git",
	              "type": "git",
	              "reference":"master"
	            }
	        }
	    }
	],

FocusPoint: Smarter Image Cropping for SilverStripe

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 3.3+ (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

Tip jar

If this module helped you out and you want to say thanks, you're welcome to make a small donation or shout me a steam game.

Donate via PayPal Donate via PayPal

silverstripe-focuspoint's People

Contributors

bummzack avatar digitall-it avatar jonom avatar kinglozzer avatar oceanmountain avatar silbinarywolf avatar stevie-mayhew avatar undefinedoffset avatar xmarkclx avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.