Inserting an Image
lcd604 - June 7, 2008 - 02:39
I know this is going to be one of those question that will make me want to smack myself latter, but how to you insert an image in a blog post/page? Not only inserting it, but precisely inserting the image e.g top left, bottom right....etc.
On a side note, I'm currently developing my site on my localhost and when I try to attach an image file, I can never get the image to appear . I can only attach it as a list.
Thx for the help guys, I know its really newb question ^^

Install / enable Image or IMCE
You need other modules to work with images, of which there are two main ones;
Image - inserts images in to the system as nodes, and ImageAssist , module allows you to insert the image into the content.
or
IMCE - FTP like image upload tool.
Install depending on your needs.
Eg: Image is a node, so has full access to acess rules etc, plus creation date, status, ...
IMCE is either public or shared, thus limited access control, and no extra data is saved
Cheers
Alan Davison
www.caignwebs.com.au
Re: Inserting an Image
You might want to try the img_filter module for inserting. You can set the input format to Full HTML and use HTML code to insert and align.
http://drupal.org/project/img_filter
Or you can add to that and use BBCode to insert the image.
http://drupal.org/project/bbcode
On top of the BBCode, you could use the BBCode Formatting Bar to ease the input time if you are using Drupal 5.x.
http://drupal.org/project/bbcode_wysiwyg
As far as attaching files, I wouldn't know, I don't use the feature or allow it for users.
Hope this helped at least a little bit.
~DH
Still scratching my head.
Thx for the help guys, currently i'm using the image module and the image assist module to insert images into my posting but it seems like I can only insert images by changing the input format to full html and when using img assist I have to insert the img using full html with the tag.
Any pitfalls to using full html to insert img's ? Any pitfalls to this meathod ?
Thx guys for the support !
p.s when I try to attach an image to a post it automatically creates a post with just the image, any way to prevent this and just insert the img ?
I believe you need to add a
I believe you need to add a couple tags to the Allowed Tags for Filtered HTML. The following is from the INSTALL.txt included with img_assist:
Configure an input format and enable the filter 'Inline images' by visiting:
Administer > Site configuration > Input formats
If you want to enable Inline images for the input format 'Filtered HTML',
you additionally need to click the 'Configure' tab and add
<span> <img>
to the text field 'Allowed HTML tags'.
Modify the input format filters
You can relax the filtered HTML format to allow img tags; go to site config > input formats and have a look
The Image module is a post with an image, you have to have both. It can be liken to a content type with a CCK imagefield.
Alan Davison
www.caignwebs.com.au