Hi All

It's been a long time since I've written any CakePHP, and even longer
since Ive had to set up a server.  I know there is an answer to this
somewhere but I cant for the life of me find it!  Also I have
previously only used 1.1, and am now using the latest version

On my WAMP server Im using for development, ive "installed" cake in a
folder called "DSC"

localhost
    DSC
        app
        cake
        vendors
        etc...

when I use my html helper in my default.ctp file to insert an image,
the image does not display

<?php echo $html->image('layout/dsc_01.png',array('border'=>'0',
'width'=>'17', 'height'=>'207')); ?>

the path that comes back is a relative path, and goes too far back

<img src="/DSC/img/layout/dsc_01.png" border="0" width="17"
height="207" alt="" />

the path shouldn't have the DSC, eg:

<img src="img/layout/dsc_01.png" border="0" width="17" height="207"
alt="" />

What file do I need to edit to get the relative paths working
correctly?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to