You can use $html->image(router::url('admin/webroot/img/image.png',
true)) ..
The router method should format a complete url , image method will
check for :// and avoid formating it..
hth

On Apr 3, 10:05 am, Adam Royle <[EMAIL PROTECTED]> wrote:
> Never tried your way, however is there a reason you need to separate
> the frontend and backend apps?
>
> Cheers,
> Adam
>
> On Apr 3, 3:53 am, wralph <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I am on shared web hosting and I have a directory setup like so:
>
> > app/ - Frontend application
> > admin/ - Backend application
> > cake/ - Cake core
>
> > I have an add item page inside admin, which uploads images to admin/
> > webroot/img and I want to be able to access these from the frontend
> > directory with the $html->image() method, but this will by default
> > look inside app/webroot/img.
> > I can't make a symbolic link there as I am on shared hosting, is there
> > any other way?
>
> > Regards,
> > WR
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to