how to display images in the page.tpl.php with drupal 7

Reertkeby

New Member
i have theme it is name (car) and have image links in page.tpl.php and i want to display this image with short wayanyone can help me..the most of this ways to node.tpl.php but i need to display images with page.tpl.php\[code\]<img src="http://stackoverflow.com/questions/15861107/rightgallery/img/img1_thumb.jpg" alt="motherly" /> \[/code\]i try to add this code in template.php file \[code\] // helper variable path to themefunction car_preprocess_page(&$vars) {$vars['thefullpath'] = $GLOBALS['base_url'] . "/" . $GLOBALS['theme_path'];}\[/code\]and then print the path like this but still didnt work\[code\]<img src="http://stackoverflow.com/questions/15861107/<?php print $thefullpath; ?>rightgallery/img/img1_thumb.jpg" alt="motherly" >\[/code\]
 
Back
Top