straightryder Posted February 24, 2011 Report Posted February 24, 2011 Alright, i've never had this one happen before.... The images in the header on the main/ index display but when i click on a blog post and taken to the single page.php the image links appear broken.... except for background images. Anyone know what might cause this issue? thanks
Andrea Posted February 24, 2011 Report Posted February 24, 2011 Without seeing it the site/pages, I must rely on my crystal ball, and that shows me that it's probably a path problem. Change your path to the image to a direct one (so www.yoursite.com/wherever/images/image.jpg vs. /images/image.jpg).
BeeDev Posted February 24, 2011 Report Posted February 24, 2011 (edited) Prepend the following to the paths bloginfo("url") instead of hard-coded paths. Or you can use bloginfo("template_url") if those images reside inside ur template folder. More info here: http://codex.wordpress.org/Function_Reference/bloginfo Edited February 24, 2011 by BeeDev
straightryder Posted February 24, 2011 Author Report Posted February 24, 2011 Why oh... why... it was a path issue.... i was missing the / unreal how some things just slip past. Thanks guy's;)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now