Hi,
I am new to Drupal but I am jumping in with both feet. Right now I am setting up 3 Drupal sites for
my department at Boston University.
I like Drupal's clean adminstration interface but I am having some trouble getting
the hang of adding images in content. This is what the users of this site will want to do.
Create pages or stories, and be able to include pictures with thier text.
I was having problems with absolute/non-absolute URL's but I got this fixed. I can now
upload an image or attachment and have it appear with a non-broken link.
The problem that I am having is this, even though I can see the image when creating the
story, when I publish it the image dissapears. No broken link, no error message.
I have installed tinyMCE and this is what I am using to create posts.
I'm not sure where to look on drupal.org there doesn't seem to be a forum
for this type of problem.
Any clues on where to look or solutions would be pissah!
Tracy
Comments
Broken link
Did you take a look at the source code of the page? (Ctrl-u in Firefox)
Do you see the
<img>tag in the source? If so, what is the value of the href attribute? It should be something like:<a href="/files/name-of-pic.jpg" />Input format
When using TinyMCE make sure that you are selecting the correct input format => Full HTML. (not "Filtered HTML").
Also, you'll need to upload the image(s) to the web server. To do this, use the IMCE module combined with TinyMCE.
More info on IMCE module:
http://drupal.org/project/imce
Images not appearing - follow up
Thanks to the folks that offered suggestions to this problem.
I figured out that if I selected "full HTML" as the input format the pictures would show up. However, I don't think allowing full HTML is a good idea.
So, after more tooling around on Drupal forums, someone pointed out that you can add the tag types that are
acceptable in the various modes of "input format". So in my case I added the
<img>tag as one of the acceptabletags for the "filtered HTML" input format.
go to admin>>settings>>filters;
click the "configure" link next to "Filtered HTML";
click the "configure" link, scroll down the "Allowed HTML tags", enter the i
<img>tag ;Then press the "Save Configuration" button.
Your posts with images should now work fine.
All the best!
Tracy
PS: if you live in the Boston area join the Greater Boston Drupal Meetup.