Code Monkey home page Code Monkey logo

cakeimagecropresize's People

Contributors

bradcrumb avatar rockfreak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cakeimagecropresize's Issues

No image generated

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

Error: Unsupported operand types

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?

Missing Helper

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 !

Class 'Image' not found error found using CakeImageCropResize

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

Helpers and Components' Alias in controllers in CakePhp 2.6 are case-sensitive

I'm using CakePhp 2.6 and in controller I had to use these statements:

  • public $helpers = array('ImageCropResize.Image')
  • public $components = array('ImageCropResize.Image')

Instead of:

  • public $helpers = array('ImageCropResize.image')
  • public $components = array('ImageCropResize.image')

Because in this case the inclusion of the class is case-sensitive.

Giving broken image path when using on localhost

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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.