By indescript on
I've created my first custom theme for a production site that needs to go live in a couple weeks. Everything is working great except my theme images don't show up on every page.
For example anything with /node/ or inside a blog as is /blog/1/ . /admin will show the images, but admin/content/types will not. I just get the red x and image unavailable.
Seems like all my first and second level pages work correctly.
I'm thinking it's most likely a configuration issue that is not letting the images load on these pages since the path is correct.
Any suggestions?
Thanks.
Comments
Try using Firefox and the
Try using Firefox and the firebug extension, visit a page where the images do not show. Open firebug and click the net tab. File the image file in the list and place the mouse over the name to see the fully resolved path. Best guess is you are using a relative path when you need a absolute path or at least one anchored to the sites root folder.
Thanks very much. You were
Thanks very much. You were right on.
Drupal was injecting some code into my relative paths breaking the image url.