hi
who I can upload image in my site with YUI Rich Text Editor ?

CommentFileSizeAuthor
#6 yui_editor-5x-26-91_addimageupload.patch6.66 KBAnonymous (not verified)

Comments

XerraX’s picture

Priority: Normal » Critical
trevorleenc’s picture

this would be a great feature to have...subscribing

rovo’s picture

yeah this would be great, unless there is an alternative way to do it?

gustavlarson’s picture

Priority: Critical » Normal

What I do is that I upload the file (attach) to the post, and then copies the url that Drupal uploaded the image to. This would however be a really neat feature to have, would make it a lot more easy to use for people not that familiar with the concept of URLs.

jeffcd’s picture

I will add this to my list of things to do, but if you want to submit a patch then I'll put it in there.

Anonymous’s picture

Version: 5.x-2.x-dev » 5.x-2.6-91
Component: Documentation » Code
Assigned: Unassigned »
Status: Active » Needs review
StatusFileSize
new6.66 KB

I made a patch against 5.x-2.6-91 which adds the image upload facility.
The uploaded images will be placed in the folder files/images make sure the images subfolder exists and is writeable.

Gertjan

Anonymous’s picture

aaronp’s picture

This works great for me; I was even able to get it to work with version 5.x-2.6-94 by manually applying portions of the patch (hunk 2 failed). I definitely think this functionality should be included in the module without a patch.

One note, it appears that the Upload module must be enabled for this to work.

jeffcd’s picture

I will add the outstanding patches in the next couple weeks. I wanted to make sure that the current functionality works well before adding new features.

jeffcd’s picture

Status: Needs review » Closed (fixed)

This has been posted in 2.9.5.

Thanks.

herchenx’s picture

I read the documentation I have been able to find, and have installed the latest yui and yui_editor modules. The file upload works as long as I have a writeable files/images folder, but the URL input area clears out once the upload is complete leaving someone who doesn't understand URL's or who doesn't know where to find the uploaded files in the dark.

This is in FF 2.0.0.14

yui module:
version = "5.x-2.3"
project = "yui"
datestamp = "1205439615"

yui_editor module:
version = "5.x-2.6-95"
project = "yui_editor"
datestamp = "1212617421"

Did I miss something obvious? Everything else seems to look and work well.

torm’s picture

Hi,

I get the same error as herchenx.

regards,
torm

markus61’s picture

best thing for my site would be if yui RTE image upload works together with the drupal image module.
that way it would be possible to

- adjust the image size in the image module
- have an admin option for YUI RTE where we could opt for "Thumbnail", "Published" or other predefined sizes
- don't give the user the option to ruin a layout by using wrong image formats
- strip down the image upload box to the file box and nothing else
...

excited

/markus