I am trying to get the images to display in my cakephp website. My task is simple to get the website labelled below 1) which is a cakephp website to look like the website labelled 2) which is a freeware website. The layout of website 1) has the cakephp code which just calls in a view for the middle'blue section'
I am getting the paths wrong to display images/js. I am not seeing what I doing wring with loading images and js
I load images like this
echo $this->Html->image('f_pic2.jpg', array('alt' => 'CakePHP'`
I load Js like 2 ways an neither seem to have any effect.
<?php
echo $this->Html->script(array('jquery.min','jquery-ui.min','jquery.magnific-popup.js'));?>
<script src="web/js/jquery.magnific-popup.js" type="text/javascript">
// cant see images on website 1) that should appear from website 2). I have loaded all the files,images into the webroot img/js dir
website cakephp 1) http://101.0.99.48/maths/users/calm
website freeware 2) http://101.0.99.48/calm-pack/
I have read the docs and I dont know what I am doing wrong.
http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html
http://book.cakephp.org/2.0/en/core-libraries/helpers/js.html
