This is a really newbie question - how is inline image referenced in Drupal 5? I have "created" an image content and it's there. I then want to include it on a page using the Only local images are allowed. tag but I can't seem to get it to display. What's the path I should be using? The image is named "abc.jpg" and I've filled in the alias using the name "image-abc".

I include the image using the Only local images are allowed. tag and have tried the following:

Only local images are allowed.
Only local images are allowed.
Only local images are allowed.
Only local images are allowed.

None worked. What did I miss here?

BTW, I was using TinyMCE before in Drupal 4.6.x but in Drupal 5, it isn't working right so I've abandoned it for the time being.

Thanks for any advice!!

Comments

KSA213755’s picture

If you were using TinyMCE before, and found it not working like you want in 5.0, then you might need the Moxie module instead of TinyMCE.
Roger

laceiba’s picture

I just discovered this little gem last night and while it might not completely solve your problem, it may help.

  • Log in as the admin for your site
  • Go to administer > Site Configuration > Input Formats
  • Under operations for Filtered HTML, click Configure
  • Click the check box for Inline images

You can do the same for the other import formats, if needed. See if that helps.

phuile’s picture

I've enabled the inline images choice, and for Input Format, I've set it to Full HTML. My problem is to get the URL for the image that I've uploaded, so that I can enter it into the Only local images are allowed. tag (src="????") The "????" is what I am looking for.

I can't seem to find it in this Drupal 5 site. I haven't been working on Drupal 5 long so I am still very confused at the moment.

Please help!

smita_datar’s picture

Hi,

I am also using drupal5.0. I am trying to use inline images..but i am unable to find "check box for Inline images".

What exactly i should do for inserting an image in the stories?
Thanks in advance

- Smita.

logicexpertise’s picture

First, when you edit the node (book page, blog post, whatever) where you're trying to insert the image, you need to use the full url to the image. For example, if your image is named abc.png and it's in the images directory, your img tag should be:
<img src="http://yoursitename.com/images/abc.png">

Second, you should select the Full HTML radio button in the 'Input Format' section under the body of the node.

Hope this helps.