I uploaded an image to be used on my "About Us" page. After I tried to use the IMG tag in HTML, I discovered that it is not full supported in Drupal. How do I get an uploaded image to display on a page?

Comments

Deepika.chavan’s picture

Hi,
Try adding following php code in the body of your 'About Us' page.
1. Save your image in 'danland/images' directory.
2. Replace 'YOUR_IMAGE.jpg' by your image name.

<?php
$img_path= base_path() . path_to_theme();
?>
<img src="<?php print $img_path ?>/images/YOUR_IMAGE.jpg"  alt="Image goes here" />

Rgrds,

Deepika Chavan.

danpros’s picture

Status: Active » Closed (fixed)

Hi,

You need additional module if you want managing your images on the fly.

@Deepika Chavan: Thanks :)

Dan