i found this : $url = $this->webroot . $this->themeWeb . IMAGES_URL . $path;
in the html helper. /cake/libs/view/helpers/html.php in the image function function image() may be what you're looking for. On 21/01/07, jyrgen <[EMAIL PROTECTED]> wrote: > > hi ! > > i'm employing the oldfashioned JS image swap method > (see below) > > off6=new Image(); > off6.src="/cake/app/webroot/img/btn_logout_lo.gif"; > over6=new Image(); > over6.src="/cake/app/webroot/img/btn_logout_hi.gif"; > > for my site, but i'd like to avoid the hardcoded img path. > > is there a cake constant which holds > > /cake/app/webroot/img/ > > ?? > > thanks again ! > > jyrgen > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
