I tried fullBase and that is not working, how do I do that using Html->image?
On Tuesday, December 2, 2014 1:07:41 AM UTC-5, Dakota wrote: > > CakePHP treats the application webroot folder as the asset root (i.e. the > webroot/ folder in your project directory). If you want to get something > elsewhere on the server then you need to give an absolute http:// url. > > On Monday, 1 December 2014 22:20:16 UTC+2, frocco wrote: >> >> Hello, >> >> $catimg = '/media/'. $row->brand->image_path; >> echo $this->Html->image("$catimg", array( >> "alt" => "no image", >> 'fullBase' => true, >> >> This tries to find image in my cakephp3 app, not web server root. >> >> What am I doing wrong? >> >> Thanks >> > -- 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.