Closed (duplicate)
Project:
Service links
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2010 at 12:18 UTC
Updated:
20 Oct 2010 at 08:37 UTC
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"><img
src="/sites/fhfvp.illuminateweb.org.uk/modules/service_links/images/delicious.png"
alt="del.icio.us" title="" width="16" height="16" /></a>
</li>
<li class="service_links_digg">
<a href="http://digg.com/submit"><img
src="/sites/fhfvp.illuminateweb.org.uk/modules/service_links/images/digg.png"
alt="Digg" title="" width="16" height="16" /></a>
</li>
<li class="service_links_facebook">
<a href="http://www.facebook.com/sharer.php"><img
src="/sites/fhfvp.illuminateweb.org.uk/modules/service_links/images/facebook.png"
alt="Facebook" title="" width="16" height="16" /></a>
</li>
<li class="last service_links_twitter">
<a href="http://twitter.com/home/"><img
src="/sites/fhfvp.illuminateweb.org.uk/modules/service_links/images/twitter.png"
alt="Twitter" title="" width="16" height="16" /></a>
</li>
</ul>
Any ideas why this is happening? I've used service links before without this problem.
Many thanks.
Comments
Comment #1
mshepherd commentedApologies. I had a spurious links.tpl.php file in my theme directory that wasn't expecting an image.
Comment #2
randomuser commented+1
I seem to still be getting this error.
Comment #4
randomuser commentedStill have this error, how can I debug it?
Comment #5
mshepherd commentedTry 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.
Comment #6
TheCrow commented#806702: Service Link Images Cannot Display
solution is here > http://drupal.org/node/806702#comment-3494488