burzum / cakephp-imagine-plugin Goto Github PK
View Code? Open in Web Editor NEWCakePHP wrapper for the powerful Imagine image processing library. Makes images manipulation easy and powerful.
License: MIT License
CakePHP wrapper for the powerful Imagine image processing library. Makes images manipulation easy and powerful.
License: MIT License
Hello,
Do you have any plans on upgrading this plugin to work with Cakephp 3.6?
Thanks!
Currently, your package installs as CakephpImaginePlugin in the Plugin directory. I was wondering how another Plugin that corrected itself had done so and found that they added installer-name at the bottom. I know this is a tough one for you as some users may already be using this plugin through composer but here's how your composer should look like:
https://github.com/cwbit/cakephp-aggregate-cache/blob/master/composer.json
{
"name": "burzum/cakephp-imagine-plugin",
"type": "cakephp-plugin",
"description": "Imagine Plugin for CakePHP",
"keywords": ["cakephp","media","image","image-processing"],
"homepage": "https://github.com/burzum/cakephp-imagine-plugin",
"license": "MIT",
"authors": [
{
"name": "Florian Krämer",
"homepage": "http://florian-kraemer.net"
}
],
"require": {
"php": ">=5.3.2",
"imagine/imagine": "*",
"composer/installers": "*"
},
"extra": {
"installer-name" : "Imagine"
}
}
It's causing errors with another plugin (milesj Admin) that throws exceptions when a table is missing from the database
in cakephp-imagine-plugin/Docs/Documentation/Caching-And-Storage.md
the link to FileStorage Plugin should link https://github.com/burzum/cakephp-file-storage
not https://github.com/burzum/cakephp-imagine-plugin
Now from composer the package is installed as CakephpImaginePlugin.
As such, in order to work, the name must be changed
app/Config/bootstrap.php
atCakePlugin::load('CakephpImaginePlugin', array('bootstrap' => true));
app/Plugin/CakephpImaginePlugin/Config/bootstrap.php
atrequire_once CakePlugin::path('CakephpImaginePlugin') . DS . 'Lib' . DS . 'ImagineUtility.php';
Hi,
I am trying to use this plugin but I can not find any documentation on how to use it.
Basicly I have installed the plugin but have no idea how to use it.
http://imagine.readthedocs.org/en/latest/usage/introduction.html At this page I can find some information on how to use the original version. But how would I start those commands from cakephp?
Greets,
Thomas
the link on README.md "https://github.com/burzum/cakephp-imagine-plugin/blob/3.0/Docs/Home.md" Page Not found
If you are interested in activly maintaining this library please contact me.
My interest in CakePHP has faded and my personal life doesn't allow me to spend that much time on open source projects anymore either.
After updating from 2.0.0 to 2.1.0, my images won't be resized any longer. They are saved for every size tho.
The config I'm using:
Configure::write('FileStorage', [
'imageSizes' => [
'Image' => [
't200' => [
'thumbnail' => [
'width' => 200,
'height' => 200
]
]
],
],
]);
Any idea what's going on or what I should check to make this work again?
Hi,
I am trying to use this plugin but I can not find any documentation on how to use it.
Basicly I have installed the plugin but have no idea how to use it.
http://imagine.readthedocs.org/en/latest/usage/introduction.html At this page I can find some information on how to use the original version. But how would I start those commands from cakephp?
Greets,
Thomas
I'm getting
"Fatal error: Class 'Imagine\Gd\Imagine' not found ..... in ImagineBehavior.php on line 46".
on *nix Machines. Works fine on Windows!
Fixed it with
public static function load($name) { $name = str_replace("\\", '/', $name); //... }
in App/Plugin/Imagine/Lib/ImagineLoader.php.
In addition you've to either rename the "lib" folder inside vendor/Imagine to "Lib" or also change that in ImagineLoader.php
$imagineBase = \CakePlugin::path('Imagine') . 'Vendor' . DS . 'Imagine' . DS . 'lib' . DS;
I was just looking through the documentation and I noticed that you suggest putting the plugin into app/Vendor
but, in 3.x the folder would be src/vendor
and also, the plugin structure has changed so that plugins are just loaded from the composer folder.
I'm using Imagine together with burzum/FileStorage and I think it uses up way too much memory on the server.
On a server with a memory limit of 32mb, it is sufficient to create two smaller versions of an image of around 1mb file size to exceed the limit (inside an application).
Is there some room for improvements to restrict the memory-hunger?
thumbnail() method seems to need a fix because of this
thomasbelknap@IKW-BELKNT-MBP one-vision % composer require burzum/cakephp-imagine-plugin
Using version ^4.0 for burzum/cakephp-imagine-plugin
./composer.json has been updated
Running composer update burzum/cakephp-imagine-plugin
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires burzum/cakephp-imagine-plugin ^4.0 -> satisfiable by burzum/cakephp-imagine-plugin[4.0.0].
- burzum/cakephp-imagine-plugin 4.0.0 requires imagine/imagine 0.6.* -> found imagine/imagine[v0.6.0, v0.6.1, 0.6.2, v0.6.3] but it conflicts with your root composer.json require (1.2.4).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
I cannot downgrade Imagine because it tells me:
- Root composer.json requires imagine/imagine 0.6.0, found imagine/imagine[v0.6.0] but the package is fixed to 1.2.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Any help would be greatly appreciated!
I have a problem with https://github.com/CakeDC/Imagine/blob/develop/Test/Case/Lib/ImagineUtilityTest.php#L12
When I run the test I get
Class 'ImagineUtility' not found
Error: An Internal Error Has Occurred.
Any suggestion on how to try fixing this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.