more work on htmlarea

Posted by gordon on Mon, 01/03/2004 - 10:58am

Well a kind person has said that he is going to pay for me to add the ability for htmlarea to be able upload images to drupal or select from a list of preloaded images and put them into any node.

So over the last couple of weeks I have been bevering away in my spare time to enable htmlarea to upload files. This in some areas was a much bigger change that I thought.

Firstly I had to write the filtering system in the image module so that I would be able to attach images in a much better way to nodes. the standard image module added links to the image it displayed and also only displayed the thumbnail. I made changes to get rid of the url and made it so that it would download the image closes to the size of the image that was required, works alot better now.

I then had to create a plugin for htmlarea so that we could replace the standard insertImage functions so it will have a new popup that will display taxonomy categories and allow the user to upload images and select new one.