I've never tried this, but I believe that Cake relies on the web server to serve up image assets by default. This would suggest that, no, you can't move your images outside of your web root and still use the HTML helper's image() method You can, however, use media views to send binary information to users. It works outside of the core helpers, but might meet your needs.
I've never tried this, but I believe that Cake relies on the web server to serve up image assets by default. This would suggest that, no, you can't move your images outside of your web root and still use the HTML helper's image() method. You can, however, use media views to send binary information to users.It works outside of the core helpers, but might meet your needs.
I added a RedirectMatch rule to the . Htaccess in the webroot directory. RedirectMatch /img/(.*) assets.example.Com/img/$1 – Juri Aug 30 '10 at 17:07 you added a new web root.
That's cheating. :-) – Rob Wilkerson Aug 30 '10 at 19:38.
Try to go up the directory by adding ../ at the front of image file as many times as it is necessary like this: echo $html->image('../../special_assets_folder/cake_logo. Png'); That worked for me in some cases.
No, that won't work. The Cake Image helper will output this: – Juri Aug 31 '10 at 9:47 What about echo $html->image('/../../special_assets_folder/cake_logo. Png');?
Notice - starting with slash. – bancer Aug 31 '10 at 18:01.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.