Hi all,

i'm a newbie in html and php. and i wish to learn how to add image instead of text as footer link.

i tried adding this html code in Block Body.

<p style="text-align: center;"><a class="imglink" href="http://localhost/drupal-5.7/"><img alt="To learn" src="images/quote.png" height="59" width="110" style="border: none;" /></a>

Thanks.

Comments

Alan Cooney’s picture

Hi there,

The problem is probably with where the image is located. The easiest thing to do would be to use a direct link to the image (e.g. www.example.com/images/quote.png). Otherwise give in terms of /abc/def/images/quote.png where /abc is your root directory.

Let me know if this works,

Alan Cooney
Avioso Designs
http://www.avioso.com

iceaxe’s picture

i tried both methods, and it don work...
wat i wish to achieve is almost the same as replace primary links with image.

http://drupal.org/node/62149

just tat instead of primary links, i wish to change it at footer links. i tried to following the instructions shown there, but still cant get it.

Dimitri Raptis’s picture

Dear All,

I did the following to include an image at the footer of my website:
1. Created a new block at the blocks section and named it footer_two
2. I selected it to appear at the footer block.
3. I gave it a name.
4. At the body section I chose for impute format "Full HTML"
5. Added the following script in the body:

Only local images are allowed.

the "http://www.olt4hcc.com/sites/default/files/OLT4HCC_logos.png" should be replaced with you image of choice after you have named it and uploaded it at your server. I used the file attachement option while editing my page and the link of the image was generated automatically.

Good luck

Dimitri Raptis