bradcrumb / cakeimagecropresize Goto Github PK
View Code? Open in Web Editor NEWA small CakePHP plugin for resizing and cropping of images. Includes a Helper and Component
A small CakePHP plugin for resizing and cropping of images. Includes a Helper and Component
Hi,
I've just installed your plugin but it does not work...
The image is not generated, the url is empty.
I made a debug in the Helper and $relFile is always null, if it can help...
Best regards
Hi,
I can include the component without any issues, but I cannot include the helper, I get this error message:
Error: Unsupported operand types
File: D:\cake2.5.1\lib\Cake\View\Helper\HtmlHelper.php
Line: 805
And in my case, I only need the helper... any idea?
Hi,
Here's what I get when I follow the intructions to install the plugin.
Error: ImageHelper could not be found.
Error: Create the class ImageHelper below in file: app/View/Helper/ImageHelper.php
If I move the ImageHelper.php in View/Helper/
I got this:
Fatal error: Class 'Image' not found in /homez.743/florianszp/dev/Repar-hayon/app/app/View/Helper/ImageHelper.php on line 50
I'm a big cakephp pro so if you could update the doc because I'm obviously missing something here.
Thx !
I installed CakeImageCropResize pluging in project but I got this error message when I try to view the image.
Here is the error I got: Fatal error: Class 'Image' not found in C:\wamp\www\ciamso\app\Plugin\ImageCropResize\View\Helper\ImageHelper.php on line 50
Please help
Hi,
The plugin is compatible with CakePHP 2.6.9 ?
He is not work for me.
I'm using CakePhp 2.6 and in controller I had to use these statements:
Instead of:
Because in this case the inclusion of the class is case-sensitive.
I installed this plugin in my cakephp 2.2.3 project. I havent tested this live but on my localhost i placed an image in app/webroot/img/pic.png path and caliing
100, 'height' => 100, ); echo $this->Image->resize("pic.png", $options); ?>in my view file. but its printing <img src="/essorcode/img/" alt=""> only , not resized image path.
Where am i wrong in using this plugin ? what path do i need to pass for image path ?
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.