WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Images don't display on additional pages

(1/1)

itsnick:
I created a website baker site, edited a template and added my own images.  When I first go to my website everything looks correct, I.E. Logo is there and some images in the body are in the correct place.  When I click on the additional pages that I made in the website baker administration, none of my images are displaying except for my background image.

I have tried placing these images in different folders, but still no luck.  Any help is greatly appreciated.

johnp:
Hello itsnick

I would like to welcome you to website baker.

You should have a look at the following

Template Functions

Scroll through it will guide you through creating a template

But to help you out quickly

Replace

--- Code: ---<img src="/img/mypic.gif" alt="mypic" />
--- End code ---

with

--- Code: ---<img src="<?php echo TEMPLATE_DIR;?>/img/mypic.gif" alt="mypic" />
--- End code ---

This should help point you in the direction needed

JP

Navigation

[0] Message Index

Go to full version