# Snippets

**URL:** <https://www.ruby-forum.com/t/snippets/65668>\
**Category:** Radiant CMS\
**Created:** [August 20, 2006, 11:50am UTC](https://www.ruby-forum.com/t/snippets/65668 "2006-08-20T11:50:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh\_Stockwell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@Josh\_Stockwell](https://www.ruby-forum.com/u/Josh_Stockwell)\
**Post date:** [August 20, 2006, 11:50am UTC](https://www.ruby-forum.com/t/snippets/65668/1 "2006-08-20T11:50:32Z")

</div>

Hi, I’m having a bit of a dumb problem. This is based on the fully  
styled  
blog example of raidant that Im testing. In my header snippet I have an  
image and my site navigation - The image only seems to show up on the  
Home  
page and none of the children. Does anyone know what I could be doing  
wrong?

children all have the same layout so Im a bit sumped!

cheers

---

<div class="post-metadata">

**Author:** ![Josh\_Stockwell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@Josh\_Stockwell](https://www.ruby-forum.com/u/Josh_Stockwell)\
**Post date:** [August 21, 2006, 3:59am UTC](https://www.ruby-forum.com/t/snippets/65668/2 "2006-08-21T03:59:55Z")

</div>

On 20/08/2006, at 6:49 PM, Josh Stockwell wrote:

> Hi, I’m having a bit of a dumb problem. This is based on the fully  
> styled blog example of raidant that Im testing. In my header snippet I  
> have an image and my site navigation - The image only seems to show up  
> on the Home page and none of the children. Does anyone know what I  
> could be doing wrong?

Are you referencing your image by a relative or absolute url? ie  
“/images/header.jpg” vs “images/header.jpg” (note the leading slash)

If you are still having problems, post the snippet to the list.

Bodhi

---

<div class="post-metadata">

**Author:** ![Josh\_Stockwell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@Josh\_Stockwell](https://www.ruby-forum.com/u/Josh_Stockwell)\
**Post date:** [August 21, 2006, 8:30am UTC](https://www.ruby-forum.com/t/snippets/65668/3 "2006-08-21T08:30:27Z")

</div>

thanks for the reply,

I am writing “…/images/site/header.jpg” and have deduced that when the  
view  
is a child of a child, its looking in the wrong place ie  
[site.com/blog/images/site/header.jpg](http://site.com/blog/images/site/header.jpg) - I’ve just tested it without the  
two  
dots and its fine every page seems to have the right image on it! I knew  
it’d be something easy!!

thanks again,

josh
