Yeah that’s my development site. The theme is meant for http://akashicarchives.com but because I need the images to show up, I’ve had to use the full path to the image file on my development site in order to get Firefox to display it.
When I’ve checked in some of the other browsers, some of them display the image without me having to use the full path to the image file.
Is there a reason why Firefox won’t display the image unless I use the full path to the image file?
Inspect it with FF/Firebug and look at what it’s trying to find and where ( or net tab ). Copy location, paste, and adjust as needed. I’m pretty sure you’re forgetting to specify the wp-content directory but instead trying just sitename/images and not sitename/wp-content/blabla/images.
I have not forgotten to specify the wp-content directory at all. The way I have it set up is that I have the WordPress files within the akashicarchives subdirectory (the akashicarchives.netcomstudios.com part in bold), so the URL to the images on my development site is as follows: http://akashicarchives.netcomstudios.com/wp-content/themes/akashicarchives/images/ and when I have this:
Is the width or height attribute mandatory? I’m going to see if that helps…
EDIT: Just checked and it doesn’t help. I even tried turning off hotlinking in CPanel but that hasn’t worked either.
ANOTHER EDIT: I’ve found a happy medium which is that I can just use ./wp-content/themes/akashicarchives/images/logo.gif as the path instead of the full path. It must be a WordPress thing.
But that’s not the same thing. The path /images/logo.gif would resolve to http://akashicarchives.netcomstudios.com/images/logo.gif. A path beginning with a ‘/’ character is relative to the site root directory. You need to specify the full path, as
<img id="Logo" src="/wp-content/themes/akashicarchives/images/logo.gif" alt="Your company name">
(Note that the alt attribute is required for images.)
That’s a document-relative URI, rather than a root-relative URI. It will work as long as your style sheet resides in the parent directory of the images directory (i.e., /wp-content/themes/akashicarchives).
Yes, I realised what had happened. So now I’ve removed the http://akashicarchives.netcomstudios.com part and left the rest of the path intact. I was just a bit confused earlier. I knew I shouldn’t have to use the full path, so the answer lay somewhere in-between. lol