By HHHoagie on
I read the getting started article on inserting images into content pages but don't understand it. When I insert an image in to a page it shows up in the editor window but when I preview or submit it for publishing it does not show.
I know it must be a setting that I have over looked. Can anyone help me out with this please?
Thanks Bob
Comments
more info, pls
- what modules are you using for image management/insertion (if image, try the image project doc page)?
- what is your file system set to (private/public)
- filtered/full html input format (if filtered, be sure to add the tags)? all settings correct?
just so we have a baseline to work from. :)
Well I don't think I have an
Well I don't think I have an image module. I was using the TinyMCE editor to load the picture.
Public file system.
I tried both filtered and full html format.
I suppose I need an image management module?
Thanks tm for your response
okay...
no, you don't have to have an image management module if you don't plan to keep any in your installation managed as image content types. just convenient. unless you are using something that requires the image module...
question: when you look at your post, you don't see the image. in edit mode, the tags are there (something like
<img src="/files/picture.jpg" alt="" title="" height="" width="">). are there any errors in the logs? also, is there anything in the page view source (guessing the img tags are getting stripped).i don't use tinymce, so i cannot give you any particulars...
Here is the tag line:
Here is the tag line:
Here is the page source line: <img src="/pages/files/pictures/5vpower.png" align="top" height="239" width="306" />
</p>
I don't see any log errors recently but I had some a few days ago but were resolved... folders not writable. That was fixed.
Now in edit mode I see the picture fine. Just when I preview or submit it it goes away.
Attachments work fine.
I hope this is enough information tm and I appreciate your help very much.
I noticed when I posted this the first line was deleted but my tags I think are fine.
Sorry, correction to
Sorry, correction to above.
The tags on the page source are there when in the edit mode but when I submit it there are no tags for the picture in the page source. So it is getting lost some how when the page is submitted. Does that help?
okay...
i am assuming that 1) you are using the full html input filter, or 2) filtered html input filter and have added the img tag as allowed. i am also hoping for your sake that you do not have to install an image module (overhead; i tried, it works).
just for giggles, try a bare
<img src="/pages/files/pictures/5vpower.png">and see what shows up, if at all... i just tried something like that on a local installation, and it shows up okay. if it works, add the attributes one at a time. i am wondering if any "align" attributes should be taken out into a div or span tag, and then as a css class or id. is your dtd transitional or strict? not that is seems to matter.another (odd) possibility is that the image is in a flavor of the png format that the web server mime-type cannot handle. or that was a bad dream. um, and check the status report (administer > logs) to verify that you have some sort of image library support installed (GD library?).
i feel like i am fishing with bad bait; sorry. gosh, i hope this is not an tinymce thing; might have to use something like imce.
Ok, with your help, tm, I
Ok, with your help, tm, I figured out that if I disable rich-text, which essentially disables tinyMCE editor everything works fine. So do you think it's my installation of the editor or a setting? I only installed the editor and not any of the plug-in's. Basically I’m in business but the reason I installed the editor is because I’m so lame with html.
Again, you have been extremely helpful.
some possibilities
so it was related to tinymce... if you wish to keep tinymce, a couple of possibilities i see off-hand are img file filter (seems to have just come out) and imce (which seems to be a general uploader; not sure about image dependencies). not sure if image_assist or imagecache works with tinymce.
i have been using bueditor, which just inserts tags instead of rich-text stuff (great for lazy moments with lists). there are a bunch of other options under the import/export section; don't forget to filter on your version of drupal.
funny thing about (x)html; if you need it, you'll find it, you'll use it, it sticks. don't worry, it'll happen. good luck!