I am using XAMPP and created a directroy htdocs/codeigniter_shopping.
Inside that directroy I have an image directory same level as system directory.
htdocs/codeigniter_shopping/images
htdocs/codeigniter_shopping/system
I have .htaccess as follows.
RewriteEngine on
RewriteCond $1 !^(index\.php|images|captcha|css|js|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]I have stored paths to images in database.
/images/dummy-thumb.jpg
However it does not display any image.
I am able to see an image in the following URL.
http://127.0.0.1/codeigniter_shopping/images/dummy-thumb.jpg
So I tried ../images/dummy-thumb.jpg, images/dummy-thumb.jpg etc but none of them worked.
I am hoping if someone can give me ideas how to store the path to image.
Or do I need to change any .htaccess or not.
Thanks in advance.