[eluser]JohnDoerther[/eluser]
Hi guys,
I just installed the lightbox plugin for Jquery which works great, the only thing that is still not working are the images (next button, loading image, ...).
CI is linking the images to /index.php/back/catalog/images/lightbox-btn-close.gif, but the actual images are in the root directory if my CI installation.
Is there an easy way in CI to say for example:
"Redirect all requests for /index.php/back/catalog/images/ to mywebsite.com/images" ?
Thanks in advance!
EDIT: so basically I want to define rules so that URL's for images are absolute paths and not links to controllers and functions..
I tried a redirect like
Code:
$route['back/catalog/images/:any'] = base_url(). "gfx/images/" . $1;
but this does not seem to work..