Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dmyers/fuel-resizer

An Image Resizer Package for Fuel
https://github.com/dmyers/fuel-resizer

Last synced: 1 day ago
JSON representation

An Image Resizer Package for Fuel

Awesome Lists containing this project

README

        

# Fuel Resizer Package

A super simple Image Resizer package for Fuel.

## About
* Version: 1.0.0
* License: MIT License
* Author: Derek Myers

## Installation

### Git Submodule

If you are installing this as a submodule (recommended) in your git repo root, run this command:

$ git submodule add git://github.com/dmyers/fuel-resizer.git fuel/packages/resizer

Then you you need to initialize and update the submodule:

$ git submodule update --init --recursive fuel/packages/resizer/

### Download

Alternatively you can download it and extract it into `fuel/packages/resizer/`.

## Usage

```php
$image = Image_Resizer::forge('path/to/file.jpg');
$imgae->resize('48', '48');
$image->save();
```

## Updates

In order to keep the package up to date simply run:

$ git submodule update --recursive fuel/packages/resizer/