[support] img tag not working in drupal

sebastian inforazor at gmail.com
Thu May 6 16:35:43 UTC 2010


Also make sure that your source html actually HAS the <img> tags in it. 
If they are missing from the page, then your input filter needs to have 
<img> added to it in the config.

Kinshuk Sunil wrote:
> as suggested above the path will "/sites/..." will work.. reason being:
> 
> /sites/ = domain_root/sites/, whereas,
> sites/ = current url/sites/, and obviously the image will not be found 
> on this url
> 
> also, when adding node content, ensure that your input format is full 
> html, else <img> tag wont work in the node body..
> 
> --
> regards
> Kinshuk Sunil
> +91-9910024895 
> 
> Connect with Me: Facebook <http://facebook.com/kinshuksunil>LinkedIn 
> <http://linkedin.com/in/kinshuksunil>Flickr 
> <http://flickr.com/photos/kinshuksunil>Twitter 
> <http://twitter.com/kinshuksunil>Blog RSS 
> <http://kinshuksunil.com/blog>Blog RSS <http://whatisay.in>devianArt 
> <http://ncs.deviantart.com>
> Message Me: Google Talk/kinshuksunil Skype/kinshuksunil 
> MSN/kinshuksunil at hotmail.com <mailto:kinshuksunil at hotmail.com> Y! 
> messenger/kinshuksunil
> 
> 
> On Thu, May 6, 2010 at 9:22 AM, Nitesh <nitesh at nitesh.com.np 
> <mailto:nitesh at nitesh.com.np>> wrote:
> 
>     try putting <img src="/sites/default/files/imagename.jpg">.
> 
> 
>     On 6 May 2010 09:25, Mutuku Ndeti <jnmutuku at gmail.com
>     <mailto:jnmutuku at gmail.com>> wrote:
>      > I am editing "page.tpl" I have put in <img
>      > src="sites/default/files/imagename.jpg">.
>      >
>      > On Thu, May 6, 2010 at 6:36 AM, Nitesh <nitesh at nitesh.com.np
>     <mailto:nitesh at nitesh.com.np>> wrote:
>      >>
>      >> Would you describe your problem a lil more?
>      >> Which file were you editing? Or were you trying to insert image
>     into a
>      >> node. I couldn't get you. Describe a lil more!
>      >> Thank you
>      >>
>      >> On 6 May 2010 08:51, Mutuku Ndeti <jnmutuku at gmail.com
>     <mailto:jnmutuku at gmail.com>> wrote:
>      >> > I have a fresh install of drupal 6.16. I am editing the basic
>     theme.
>      >> > When I
>      >> > link images using the <img> tag, they do not display.  I have
>     set "input
>      >> > formats" to full html.
>      >> >
>      >> > Please healp
>      >> >
>      >> > --
>      >> > [ Drupal support list | http://lists.drupal.org/ ]
>      >> >
>      >> --
>      >> [ Drupal support list | http://lists.drupal.org/ ]
>      >
>      > --
>      > [ Drupal support list | http://lists.drupal.org/ ]
>      >
>     --
>     [ Drupal support list | http://lists.drupal.org/ ]
> 
> 
> 
> 
> -- 
> regards
> Kinshuk Sunil
> +91-99100-24895
> 


More information about the support mailing list