This screenshot describes what I mean: http://screencast.com/t/ZTdlNDRkZTMt

The img tags are being filtered somewhere (I'm not using an input filter so it must be soomewhere else) and I end up with this in the html for the page:

    <ul class="links inline">
      <li class="first service_links_delicious">
        <a href="http://del.icio.us/post">&lt;img
        src="/sites/fhfvp.illuminateweb.org.uk/modules/service_links/images/delicious.png"
        alt="del.icio.us" title="" width="16" height="16" /&gt;</a>
      </li>
      <li class="service_links_digg">
        <a href="http://digg.com/submit">&lt;img
        src="/sites/fhfvp.illuminateweb.org.uk/modules/service_links/images/digg.png"
        alt="Digg" title="" width="16" height="16" /&gt;</a>
      </li>
      <li class="service_links_facebook">
        <a href="http://www.facebook.com/sharer.php">&lt;img
        src="/sites/fhfvp.illuminateweb.org.uk/modules/service_links/images/facebook.png"
        alt="Facebook" title="" width="16" height="16" /&gt;</a>
      </li>
      <li class="last service_links_twitter">
        <a href="http://twitter.com/home/">&lt;img
        src="/sites/fhfvp.illuminateweb.org.uk/modules/service_links/images/twitter.png"
        alt="Twitter" title="" width="16" height="16" /&gt;</a>
      </li>
    </ul>

Any ideas why this is happening? I've used service links before without this problem.

Many thanks.

Comments

mshepherd’s picture

Status: Active » Fixed

Apologies. I had a spurious links.tpl.php file in my theme directory that wasn't expecting an image.

randomuser’s picture

Status: Closed (fixed) » Fixed

+1

I seem to still be getting this error.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

randomuser’s picture

Status: Fixed » Active

Still have this error, how can I debug it?

mshepherd’s picture

Try using the devel module to check which theme templates are involved in rendering these image links. I had a links.tpl.php file in my theme which I'd forgotten about. Deleting it and rebuilding the theme registry solved the problem. The particular template wasn't necessary in my case.

TheCrow’s picture

Status: Active » Closed (duplicate)