Welcome Guest, Not a member yet? Register   Sign In
Lightbox Issue - Image URL leads to 404 Error
#1

[eluser]lachavvy[/eluser]
Hi Guys,

I couldn't find an answer for my problem I'm having so apologises if this has already been mentioned (I had a look but I couldn't find a fix).

I'm trying to add a lightbox to my codeigniter website (http://masana.co.uk/portfolio) but when I click on the link it only displays an empty white box. I think the reason why it does this is because it is trying to load the image, but when you go directly to the image (http://masana.co.uk/assets/img/websites/..._front.jpg) you get a 404 error, which I dont understand how to fix.

This my htaccess code, which is probably incorrect:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.masana.co.uk$ [NC]
RewriteRule ^(.*)$ http://masana.co.uk/$1 [R=301,L]
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

Could you please help me try and fix my site so I can access my images directly?

Thanks in advance!




Theme © iAndrew 2016 - Forum software by © MyBB