why can't i hard code images into the page.tpl.php file?
i have made sure the file path is correct, it only allows me to display an image via css as a background

is this disabled in drupal?

Comments

johsw’s picture

Either your path is wrong, or you may have a problem with with your apache mod_rewrite config. Try posting a link.

Best,
/J.

nevets’s picture

If you use firefox and the web developer extension, under the "images" menu you could choose "find broken images" while viewing your site.

jwolf’s picture

Have you tried using $base_path ?

Example:

<img src="<?php print $base_path ?>files/your-groovy-image.png" alt="Groovy Image" />
roncjl’s picture

either do it this way (above), or you will have to upload your pictures to the server and use absolute path when linking to the pictures in your page.tpl.php