Community & Support

Placing an image into a page, story, blog, etc, Help?

I have been trying for 1 week now to try and get an image into a page. I have gone through module after module trying to find one that accomplish this. I need to be able to upload the file then place it in the page (top, bottom, middle, center, where ever. Does someone have a how-to on this that list what modules are needed and how to setup the modules once activated? I don't care if it sizes them I will re-size before uploading them. I am just so frustrated at the moment. I really hate asking but I just can't get a grip on this one. Thanks ahead of time.

Regards,
Joe

P.S. Thanks.

Edited by: VM; Moved to appropriate forum

Comments

Placing an Image on the page.

If you have access to the directories holding drupal then make a folder in a publicly accessible location and use the following html;

<img src="path to file">

Make sure the input type is fill or filtered HTML

However, that solution is not writing a new module. Which is it you wanted? A new module, or just how to do it with-in an existing module?

- Dan.

Hmm, Lets pause this topic

Hmm, Lets pause this topic for a few.....

raksasas, it's not you.

raksasas, it's not you. Out-of-the-box Drupal is absolutely Neanderthal in this regard.

You're supposed to upload an image using the core upload module.
It is then listed in the edit page along with its url.
Click the 'hide' checkbox so it isn't listed as a download when the node is viewed.
You're then supposed to highlight the url, and paste that into the text area.
Then you're supposed to write the html: <img src='[pasted url goes here]'>

You might be asking yourself at this point - is this 1994?

For inline images, the module I'd personally use if I was the only one adding content to the site, would be IMCE.
http://drupal.org/project/imce
It will also handle resizing and thumbnail creation.

For other users adding images inline, I haven't found a solution easy enough for them. IMCE is too complex for most users without training/FAQ/screencast. Not so much the module itself, but HOW internet images work and WHY the user has to do things a certain way, and why it is not like MSWord, Facebook or Flickr.

For adding images UNDER the written content, refer to my post from yesterday:
http://drupal.org/node/506674
This means the images are not inline, but it is easy enough that any user can add photos to a node.

You might also want to look at the wysiwyg module:
http://drupal.org/project/wysiwyg

Although at this point I recommend the 'standalone' FCKEditor module:
http://drupal.org/project/fckeditor
because the editor is more configurable and uses IMCE automatically.

Everything I say is opinion, even if interpreted as fact.
Sometimes I may be inaccurate or *GASP* wrong!
Sometimes I attack Drupal due to frustration. Get over it.