[support] img tag not working in drupal

KOBA | Hans Rossel hans.rossel at koba.be
Thu May 6 05:58:28 UTC 2010


or better <img src="<?php print base_path() . file_directory_path();
?>/imagename.jpg" />
ie let Drupal determine the location of your file path and make sure you are
using xhtml (so close the img tag with />)

Hans

2010/5/6 Nitesh <nitesh at nitesh.com.np>

> try putting <img src="/sites/default/files/imagename.jpg">.
>
>
> On 6 May 2010 09:25, Mutuku Ndeti <jnmutuku at gmail.com> wrote:
> > I am editing "page.tpl" I have put in <img
> > src="sites/default/files/imagename.jpg">.
> >
>
>
-- 
Hans Rossel
KOBA Webdesign bvba
Beukenlaan 56
9051 Gent (Sint-Denijs-Westrem)
Belgium
BTW 0817.931.516
+32.9.334.52.60
+32.472.79.32.16
www.koba.be
info at koba.be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100506/e966ad87/attachment.html 


More information about the support mailing list