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 today

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 62% 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

3964d 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

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[mindkomm/timmy

Advanced image manipulation for Timber.

17737.8k](/packages/mindkomm-timmy)[wp-media/imagify-plugin

Image optimization plugin for WordPress by WP Media.

8067.5k](/packages/wp-media-imagify-plugin)[bueltge/multisite-global-media

Multisite Global Media is a WordPress plugin which shares media across the Multisite network.

23132.1k](/packages/bueltge-multisite-global-media)

PHPackages © 2026

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