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 Quote
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). Quote
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 Quote
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;) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.