Re: Image is not displaying

2014-04-17 Thread Jeremy Burns : Class Outfit
I've experienced this before and it was nothing to do with the images. Try 
checking that all of your CSS and JS files are being called correctly. I have 
noticed that if you are trying to load a non-existent file through the Html 
helper, other things break.


Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 17 Apr 2014, at 14:34, baker of cake  wrote:

> Hi to All,
> 
> I have been trying to display the images after they have been uploaded using 
> $this->Html->image(). It provides the right path to the image but the image 
> is not showing. mod_rewrite is working fine, and no error seems to occur. I 
> tried displaying the image directly from the web browser with the link 
> provided in the image path, it gives me the following error:
> 
> Missing Controller
> Error: ImgController could not be found.
> Error: Create the class ImgController below in file: 
> app\Controller\ImgController.php
> 
> Image location is on default location 'img'. I tried Googling for an hour 
> already with no working result. I am using version 2.4.7 if that helps things 
> sort out.
> 
> Thanks,
> Andrew
> 
> -- 
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Image is not displaying

2014-04-17 Thread baker of cake
Hi to All,

I have been trying to display the images after they have been uploaded 
using $this->Html->image(). It provides the right path to the image but the 
image is not showing. mod_rewrite is working fine, and no error seems to 
occur. I tried displaying the image directly from the web browser with the 
link provided in the image path, it gives me the following error:

Missing Controller
Error: ImgController could not be found.
Error: Create the class ImgController below in file: 
app\Controller\ImgController.php

Image location is on default location 'img'. I tried Googling for an hour 
already with no working result. I am using version 2.4.7 if that helps 
things sort out.

Thanks,
Andrew

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.