Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Can't get header image to display (http://forum.bytesforall.com/showthread.php?t=17611)

colinruggiero May 18, 2012 03:00 PM

[SOLVED] Can't get header image to display
 
I feel awful creating another thread on this seemingly simple topic but I've read a bunch of the existing posts on this and still can't figure it out. I recently created a second database on my hosting account and installed wordpress so that I could host a second site. I've managed to get my domain alias and url re-write rules configured in a way that I can view my site at the url (www.exumafilm.com). The default header images were displaying properly but then I tried to replace them with a custom one (ExumaWebTitle1.gif) and now no header image will display. It's a low-grade image but I'm just using it for a test.

I'm not sure why I feel like this is some sort of issue with the subdirectory for my site or wrong file path but I don't know what else it could be. When I try to type in the file path to this image in the address bar of a browser (not even sure if I'm doing that correctlly), it takes me to the site at the root level of my hosting account (www.colinruggiero.com).

My first site is in /htdocs/www/ and the other site, the one I'm having trouble with is in the subdirectory /htdocs/www/exuma/. Any ideas what I could be messing up here? Thanks in advance for any help!

Cheers,
Colin

lmilesw May 18, 2012 09:38 PM

Check the spelling of the image and check the file permissions for the images folder and the image itself.

colinruggiero May 19, 2012 03:22 PM

Thank you very much for your suggestions. I checked on those things but they don't seem to be the issue. The file and folder permissions are both read enabled for all users. I'm not exactly sure how the spelling is relevant. There is no code that contains the name of the header image, it simply displays any .gif, .jpg or .png that is in the folder. So why would it matter how it is spelled? I assume I'm missing the point somehow but not sure how. When I type the address of the header images folder into a browser I get this:


Index of /exuma/wp-content/themes/atahualpa/images/header

Name Last modified Size Description
Parent Directory -
ExumaWebTitle1.gif 18-May-2012 13:23 367K

It shows that the desired image exists in the directory. When I click on that image however, it takes me to, http://www.exumafilm.com/wp-content/...aWebTitle1.gif.

That is the address in the address bar but it displays the home page for my site www.colinruggiero.com along with this message in the body:

"Not Found

Sorry, but you are looking for something that isn't here."

I feel like somehow the rewrite rules in my .htaccess file are directing searches for my domain name, www.exuma.com, to the correct place but that somehow paths to files in that directory are getting messed up somehow. That doesn't explain why the original header images displayed correctly though. I've tried various header images of various file types and sized but nothing will display. Any additional thoughts about what could be going wrong? Thank you!

Colin

colinruggiero May 19, 2012 03:35 PM

If it sheds any light on the issue, I'm having the same problem uploading a background image. I upload the image backr.gif to: /wp-content/themes/atahualpa/images/ and copied the appropriate code into the body style box in the Atahualpa Theme options (background: url(/wp-content/themes/atahualpa/images/backgr.gif) repeat top left;) but it can't find the image. I'm using Coda for my ftp stuff. When I navigate to the image inside the directory it displays the image but if I click on the preview button it takes me here:

http://colinruggiero.com/htdocs/www/...ges/backgr.gif

and says that the image cannot be found.

Seems like this is a very simple problem I'm just too clueless about this stuff to know how to fix it or exactly where the problem lies.

Thanks very much for any help,
Colin

colinruggiero May 19, 2012 03:37 PM

Some sort of formatting turned my semi-colon into an emoticon in that last post. for clarity's sake, there is no smiley in the code...

lmilesw May 19, 2012 06:20 PM

Try setting your permalinks to default and save. Then set it back to what you have and save. See if that makes a difference.

colinruggiero May 21, 2012 02:49 PM

My permalinks were already set to default on the exumafilm.com site. I tried changing them to something else but no luck. I also reset the permalinks on the colinruggiero.com site to default and then back again but it doesn't seem to have done anything either. Thanks for the suggestion though.

Colin

juggledad May 21, 2012 04:18 PM

1) verify the file exists in the atahualpa/images/header folder
2) verify the spelling is exact (case is important)
3) make sure the extension is correct
4) make sure the file permission is the same as the other file that is there.
5) temporally disable the htaccess in the root (change the name from .htaccess to just htaccess)

colinruggiero May 22, 2012 01:35 AM

Thanks very much for your help Juggledad. The problem seems to have been something in my database tables. I installed wordpress and then afterward changed the site_url and home settings in my database from colinruggiero.com to exumafilm.com. I was getting progressively weirder behavior until finally typing www.exumafilm.com into a browser took me to www.colinruggiero.com. This seems to have happened all by itself since I didn't touch anything in my Wordpress or database files between when it was working and when it wasn't. In any case, I've reset some of the database tables and re-created my.htaccess file and now things seem to be working normally. Hopefully it will stay that way. Thanks again for your suggestions - I appreciate it.

Cheers,
Colin


All times are GMT -6. The time now is 11:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.