[support] Image Not Displayed In Node

Shai Gluskin shai at content2zero.com
Fri Feb 15 02:41:31 UTC 2008


Steve,

Where is the Drupal root? is it:
/home/campfire/public_html/members

There is a setting for base_url in settings.php which is commented out. You
might try setting that.

Another solution (assuming your drupal root is as I listed above):

Create a subdomain called members.example.com and point it to
public_html/members/. With cpanel this is very easy to do.

>From hanging around the forums etc. and from my own experience, file issues
in Drupal are less fussy when Drupal is installed in the root directory of a
domain or subdomain.

Shai

On 2/14/08, Steve Edwards <killshot91 at comcast.net> wrote:
>
> It  looks like you are correct.  The issue has to do with Drupal being
> installed under a subfolder.
>
> The path to the file is /home/campfire/public_html/members/files.file.gif,
> but for some reason it is looking for it in
> /home/campfire/public_html/files.file.gif.  FCKEditor is uploading the file
> to the correct location.  How do I get it to look in the proper location?
>
> Thanks.
>
> Steve
>   -------------- Original message ----------------------
> From: Earnie Boyd <earnie at users.sourceforge.net>
> > Quoting Steve Edwards <killshot91 at comcast.net>:
> >
> > > Hmmm, this gets even stranger.  The <img> tag had an empty alt
> > > attribute in it like this:
> > >
> > > <img alt="Apache logo" src="/files/apache_pb22.png" />
> > >
> > > so on a whim I just manually filled it in to see what would happen.
> > > Instead of being invisible, the alt text was displayed as text.  So
> > > the body of the node is this
> > >
> > > <p><img alt="Apache logo" src="/files/logo.gif" />Text is here.&nbsp;
> > > Where is the graphic?</p>
> > >
> > > and what shows up is this:
> > >
> > > Apache logoText is here.  Where is the graphic?
> > >
> > > So it's as if the HTML tag is being completely ignored.
> > >
> >
> > It sounds to me as if /files/logo.gif isn't found to be displayed.
> > Check the apache error log.
> >
> > Earnie -- http://for-my-kids.com/
> > -- http://give-me-an-offer.com/
> >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080214/f308f299/attachment.htm 


More information about the support mailing list