BlogHarbor Home Page
FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  UsergroupsRSS   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
banner image to header
 
Post new topic   Reply to topic    BlogHarbor Community Forum Index -> Beginner's Lounge
View previous topic :: View next topic  
Author Message
lenoir



Joined: 09 Dec 2006
Posts: 22

PostPosted: Mon Jan 08, 2007 4:15 pm    Post subject: banner image to header Reply with quote

Having trouble getting a banner to show up. Used the blog name custom component:
<div>
<div>
<a href="{{blog.url}}"><img></a></div>
</div>

and made sure the jpg was loaded to the appropriate place, but can't get this to show up. It just shows a blank 'x' in place of the image. What am I doing wrong? Thanks.
Back to top
View user's profile Send private message
john
Site Admin


Joined: 16 Mar 2004
Posts: 3434

PostPosted: Mon Jan 08, 2007 4:35 pm    Post subject: Re: banner image to header Reply with quote

FYI, if you want to show an example of HTML in your post, you should check the Disable HTML in this post box when you post.

In any case, since the forum software ate some of your HTML code, I can't see what the problem is, can you edit your post to show the code? If possible, show us what you did in action (where can we see it on the blog); it makes it easier to understand the issue.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
abacquer



Joined: 22 Mar 2004
Posts: 193

PostPosted: Mon Jan 08, 2007 6:18 pm    Post subject: Re: banner image to header Reply with quote

lenoir wrote:
Having trouble getting a banner to show up. Used the blog name custom component:
<div>
<div>
<a href="{{blog.url}}"><img></a></div>
</div>

and made sure the jpg was loaded to the appropriate place, but can't get this to show up. It just shows a blank 'x' in place of the image. What am I doing wrong? Thanks.


Well your img tag just says "<img>". That will certainly show up as a red x. You need to specify where the image is so the browser can render it, like:

<img src="http://myblogat.blogharbor.com/pix/banner_image.jpg">
_________________
-- Abacquer, A.K.A. Chuck Seggelin
Back to top
View user's profile Send private message Send e-mail Visit poster's website
john
Site Admin


Joined: 16 Mar 2004
Posts: 3434

PostPosted: Mon Jan 08, 2007 6:23 pm    Post subject: Re: banner image to header Reply with quote

Actually what happened here is that this forum software ate up some of the HTML that was entered, there's a bug in the phpBB software that we use for this forum that causes that... So I am sure that the there was something more in the code, but we'll have to wait for an update from lenoir to see what that was...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lenoir



Joined: 09 Dec 2006
Posts: 22

PostPosted: Tue Jan 09, 2007 6:30 pm    Post subject: Reply with quote

I didn't test it again, but this is what I did yesterday that didn't work. Again, I made sure the path and filename were correct. Maybe the filename is case sensitive. I'll try that now. Meanwhile:

<div class="component">
<div class="componentBlogname">
<a href="{{blog.url}}"><img src="/Banner/Banner.jpg"></a></div>
</div>
Back to top
View user's profile Send private message
lenoir



Joined: 09 Dec 2006
Posts: 22

PostPosted: Tue Jan 09, 2007 6:33 pm    Post subject: Reply with quote

Case sensitive it was. All is well.
Back to top
View user's profile Send private message
john
Site Admin


Joined: 16 Mar 2004
Posts: 3434

PostPosted: Tue Jan 09, 2007 8:47 pm    Post subject: Reply with quote

lenoir wrote:
Case sensitive it was. All is well.


The case thing seeme to get people every time... Most web servers are case sensitive...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Search all BlogHarbor support resources.
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    BlogHarbor Community Forum Index -> Beginner's Lounge All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum