Welcome Guest, Not a member yet? Register   Sign In
Not able to display images
#1

[eluser]shinokada[/eluser]
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.

Code:
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/im...-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.


Messages In This Thread
Not able to display images - by El Forum - 10-06-2009, 02:50 PM
Not able to display images - by El Forum - 10-06-2009, 03:59 PM
Not able to display images - by El Forum - 10-06-2009, 05:09 PM
Not able to display images - by El Forum - 10-06-2009, 05:25 PM
Not able to display images - by El Forum - 10-06-2009, 11:58 PM
Not able to display images - by El Forum - 10-07-2009, 12:33 AM
Not able to display images - by El Forum - 10-07-2009, 01:17 AM
Not able to display images - by El Forum - 10-07-2009, 01:29 AM
Not able to display images - by El Forum - 10-07-2009, 06:48 AM
Not able to display images - by El Forum - 10-15-2009, 07:02 AM
Not able to display images - by El Forum - 10-15-2009, 07:51 AM
Not able to display images - by El Forum - 11-01-2009, 07:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB