Thanks for the replies jonknee and 3lancer.eu,
The generated HTML is a style tag that is inserted into each page, so
this:
<style type="text/css" media="all">
#header_right { background: #FFF url(<?php echo IMAGES_URL; ?
>base/
rotate/<?php echo $imgBase;?>/<?php echo $session-
>read('sessionImg.' . $imgBase);?>) 0 0 no-repeat; }
</style>
generates #header_right {background: #FFF url('../img/base/rotate/ex/
1_05.jpg') 0 0 no-repeat;} or
#header_right {background: #FFF url('img/base/rotate/ex/1_05.jpg') 0 0
no-repeat;},
all depending on the trailing slash.
I do not need a <img> tag, which is what $html->image() generates, I
just need a reference to the image.
Thanks all, I still do not have this worked out, so all suggesstion
are helpful
On May 19, 5:36 pm, "3lancer.eu" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > What does the generated HTML look like? Sounds like it's using a
> > relative path.
>
> Exactly, any reason for not using $html->image() for that?
>
> Piotr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---