Image Upload - TinyMCE & Drupal 6

If you're using the TinyMCE wsywig editor in drupal then you may also be wondering where the Image Upload button is on the insert image screen! It's kind of hard to use the editor to insert images when you have to manually upload them to the server yourself!!

Well the bad news is that by default TinyMCE on drupal does not come with an image upload button (!!??!!), but the good news is that a module called IMCE happily provides the missing functionality. Once it's installed the insert image dialog should have a button which will bring up an image browser screen which in turn allows you to locally browse for upload images to the server.

However, if you are using the newer Wysiwyg API to provide the TinyMCE support (as you probably should be) then you will have to install yet another module to get this elusive button to appear - You need to install a module called IMCE Wysiwyg API bridge

And after all of that you should have the image upload functionality, in summary you need to install the following:

Wysiwyg API - for wysiwyg editor.
IMCE - for image upload in wysiwyg.
IMCE Wysiwyg API bridge - to get the image upload button to appear!

UPDATE 9/2009 - I have just installed tinytinyMCE instead of the tinyMCE module and it worked straight out of the box with the current version of IMCE - excellent!

Stranger
Stranger's picture
Found this very useful!

Found this very useful! Thanks!

Stranger
Stranger's picture
Linked from google

I am looking for just this topic. Thank you!

Stranger
Stranger's picture
great info!

Just what i needed as i was surprised to find tinyMCE without image uploading modalities in drupal :-)

thanks!

Joined: 10/10/2008
User offline. Last seen 1 week 3 days ago.
Hi Kev, 6.x-1.1 is the one to

Hi Kev, 6.x-1.1 is the one to use?

-----------------------------------------------

Award Winning Web Design Cork : Pride Web Design Cork

-----------------------------------------------

Joined: 08/01/2009
User offline. Last seen 3 weeks 4 days ago.
IMCE Wysiwyg API bridge

Hi Shane,

At the time of writing I was using:

Wysiwyg API 6.x-1.0
IMCE 6.x-1.2
IMCE Wysiwyg API bridge 6.x-1.x-dev

But since then, IMCE Wysiwyg API bridge version 6.x-1.10 has been released and it seems to work fine in the set-up too!

K.

Stranger
Stranger's picture
i tried this but the image

i tried this but the image upload facility said "browser server" for files, or something like that. which is no use, as i just wanna upload images from the local computer

anyone know how to solve this?

Joined: 08/01/2009
User offline. Last seen 3 weeks 4 days ago.
It should work like this...

Hi Anon,

With this working you should be able to browse for image files locally. When you hit the insert image button on the editor you should see something like this:

The Browse Button

There is a 'Browse' button on the right. Clicking this button will bring up a big file browser window, click on the 'upload' link near the top to allow you to browse for image files on your local computer (it will make a section on the window visible):

Upload Options

Browse for the file you want, and hit the 'upload' button, this will upload the file to the server and you should see it added to the list of files below the 'upload' area:

Click on the image thumbnail

Click on the image thumbnail in the file list, this will add the image into the area below the list of files, now just click on this image to insert it into the editor..

Click on the image to insert it into the editor

Hope this helps...

Joined: 08/01/2009
User offline. Last seen 3 weeks 4 days ago.
UPDATE Image Upload & TinyMCE

UPDATE 9/2009 - I have just installed tinytinyMCEand instead of tinyMCE and it worked straight out of the box with the current version of IMCE with much less mucking around required - excellent!

Joined: 10/10/2008
User offline. Last seen 1 week 3 days ago.
I thought you liked mucking

I thought you liked mucking around Kev .... seriously though, fair play!

-----------------------------------------------

Award Winning Web Design Cork : Pride Web Design Cork

-----------------------------------------------

Stranger
Stranger's picture
thank you

grazieeee!
andrea

Joined: 10/10/2008
User offline. Last seen 1 week 3 days ago.
I just blogged about a really

I just blogged about a really nice new, well new to me, way to upload images in line into Drupal's text editor.

Blog post on image uploads

-----------------------------------------------

Award Winning Web Design Cork : Pride Web Design Cork

-----------------------------------------------

Stranger
Stranger's picture
All is setup stiil not display browser server button

I have installed all needed for editors for latest drupal 6.16 , yet i can't see the browser server button/image in insert image screen. Please help soon.

Stranger
Stranger's picture
Thanks!

Thank you very much... I looked for hours on drupal.org without success.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.

Pride on FacebookPride on TwitterPride on TwitterPride on Twitter

Join Our Newsletter

* indicates required

Irish Internet Association

finalist.png
phone-number.png