I am new in cakephp, and I have a script, which I converted to cakephp. I have there a rotate background that use 4 images like this:
$.backstretch([
"img/bg/1.jpg",
"img/bg/2.jpg",
"img/bg/3.jpg",
"img/bg/4.jpg"
], {
fade: 1000,
duration: 8000
});
When I open script like name_domain.com with use controller users and action login, it see all that images and all work perfect, but when I try to use register (controller=>users, action=>signup) the images are not load.
But I put ../img.... then is working here and not in index.
How can I link correctly those images. I also try with "/img" but not working.
Any help will be appreciated.