Welcome Guest, Not a member yet? Register   Sign In
base_url(), site_url(), nothing working to display images
#2

[eluser]Aken[/eluser]
Well the first step should obviously be checking if you can view the images by typing in the URL directly in your browser. If you can't, then there's your problem right there. If you can't, it's probably an .htaccess issue.

I've always used either base_url() or an absolute path starting with root (IE: "/assets/img/pic.jpg") depending on the environment and project. Make sure your base_url config item is a full URL with trailing slash. "http://localhost/" for example.


Messages In This Thread
base_url(), site_url(), nothing working to display images - by El Forum - 05-27-2012, 04:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB