PHPackages                             a2design-inc/cakephp-image-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. a2design-inc/cakephp-image-manager

ActiveCakephp-plugin[Image &amp; Media](/categories/media)

a2design-inc/cakephp-image-manager
==================================

CakePHP Image Manager plugin

v0.5(10y ago)6835[1 issues](https://github.com/a2design-inc/CakePHP-ImageManager-Plugin/issues)MITPHP

Since Jul 15Pushed 10y ago15 watchersCompare

[ Source](https://github.com/a2design-inc/CakePHP-ImageManager-Plugin)[ Packagist](https://packagist.org/packages/a2design-inc/cakephp-image-manager)[ RSS](/packages/a2design-inc-cakephp-image-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

CakePHP-ImageManager-Plugin
===========================

[](#cakephp-imagemanager-plugin)

Setting up
----------

[](#setting-up)

*Put this into your Cake's plugin directory*

### In your model

[](#in-your-model)

```
    public $actsAs = array('ImageManager.ImageManager');

    // Gallery
    public $hasAndBelongsToMany = array(
            'Image' => array(
                'className' => 'ImageManager.Image',
                'foreignKey' => 'foreign_id',
                'associationForeignKey' => 'image_id',
                'joinTable' => 'images_relations',
                'conditions' => array('foreign_name' => 'Page')
            ),
        );

    // One image
    // Name of association should by 'ModelField'
    public $belongsTo = array(
            'PageImageId' => array(
                'className' => 'ImageManager.Image',
                'foreignKey' => 'image_id',
            )
        );

```

### In your layout

[](#in-your-layout)

```
    echo $this->Html->script(Router::url(array(
            'controller'=> 'images',
            'action' => 'scripts',
            'full_base' => true,
            'admin' => false,
            'plugin' => 'image_manager',
    )));
    echo $this->Html->script('ImageManager.image_manager');
    echo $this->Html->script('ImageManager.jquery.drag.drop');
    echo $this->Html->css('ImageManager.image_manager');

```

### In your config file

[](#in-your-config-file)

```
    Configure::write(
        array (
            'ImageManager.Upload' => array(
                'filename' => array(
                    'thumbnailSizes' => array(
                        'small' => '500x500',
                        'thumb' => '253x158',
                        'big' => '800l',
                        'nano' => '100x100',
                        'pico' => '70x70',
                    )
                ),
            )
        )
    );

```

### In your controller

[](#in-your-controller)

```
    public $helpers = array(
            'ImageManager.ImageManager'
        );

```

### Run MySQL script

[](#run-mysql-script)

```
    CREATE TABLE `images` (
          `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
          `foreign_key` int(10) unsigned DEFAULT NULL,
          `model` varchar(255) NOT NULL DEFAULT '',
          `filename` varchar(255) NOT NULL DEFAULT '',
          `dir` int(11) unsigned DEFAULT NULL,
          `order` int(11) unsigned DEFAULT NULL,
          `is_slider` int(2) unsigned DEFAULT NULL,
          `site_id` int(11) unsigned DEFAULT NULL,
          PRIMARY KEY (`id`)
    ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;

    CREATE TABLE `images_relations` (
          `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
          `foreign_id` int(11) unsigned NOT NULL,
          `foreign_name` varchar(255) NOT NULL,
          `image_id` int(11) unsigned NOT NULL,
          PRIMARY KEY (`id`)
    ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;

```

### Usage

[](#usage)

```
// One image

// Gallary

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 56% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

6

Last Release

3918d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1c049519b875c0017b5aedb8fb36acc48d006476036972867b88fc1dbee5987?d=identicon)[rabbiabram](/maintainers/rabbiabram)

![](https://www.gravatar.com/avatar/12a3bc9c1b7033729153490df10c006167458726af07b8f6fcdf1033de3cc66b?d=identicon)[gordvm](/maintainers/gordvm)

---

Top Contributors

[![gordvm](https://avatars.githubusercontent.com/u/1260703?v=4)](https://github.com/gordvm "gordvm (14 commits)")[![temapavloff](https://avatars.githubusercontent.com/u/2551202?v=4)](https://github.com/temapavloff "temapavloff (6 commits)")[![MrMYSTIC](https://avatars.githubusercontent.com/u/1566816?v=4)](https://github.com/MrMYSTIC "MrMYSTIC (2 commits)")[![IvanII](https://avatars.githubusercontent.com/u/7713857?v=4)](https://github.com/IvanII "IvanII (1 commits)")[![loburets](https://avatars.githubusercontent.com/u/5417461?v=4)](https://github.com/loburets "loburets (1 commits)")[![Wolg](https://avatars.githubusercontent.com/u/538630?v=4)](https://github.com/Wolg "Wolg (1 commits)")

### Embed Badge

![Health badge](/badges/a2design-inc-cakephp-image-manager/health.svg)

```
[![Health](https://phpackages.com/badges/a2design-inc-cakephp-image-manager/health.svg)](https://phpackages.com/packages/a2design-inc-cakephp-image-manager)
```

###  Alternatives

[mindkomm/timmy

Advanced image manipulation for Timber.

17735.6k](/packages/mindkomm-timmy)[toinekamps/responsive-pics

Responsive Pics is a Wordpress tool for resizing images on the fly.

831.2k](/packages/toinekamps-responsive-pics)[asgardcms/media-module

Media module for AsgardCMS. Handles the media library.

1130.6k2](/packages/asgardcms-media-module)[globalis/wp-cubi-imagemin

Standalone image minification WordPress plugin

1317.7k2](/packages/globalis-wp-cubi-imagemin)[samwilson/diagrams

MediaWiki extension to display various types of diagrams rendered from text within wiki pages.

122.3k](/packages/samwilson-diagrams)[chkilel/icones-plugin

Access thousands of icons including popular icon sets, icon fonts and several Emoji sets from a backed Form Widget

181.6k](/packages/chkilel-icones-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
