I've just installed the YUI editor with Drupal 5.15 and I'm not running the library locally. I uploaded an imaged and it seemed to work all fine. However, when I try to upload different images it always comes up with the image that I've uploaed first. I then went into the files folder and found a file called images. YUI seems not to store the image in its original form but (jpg, etc...) but somehow embeds it into this image file with no file extension. I deleted this images file, tried to upload a new image, but again it comes up with this first image that I uploaded with the YUI editor. What is going wrong? I enabled the coder button in order to see where its pointing at but the coder button will not show (and no, I haven't got the plaintext button enabled at the same time). What is going wrong? Any ideas?

Comments

brookvale’s picture

I have same problem and found odd situation:
(Drupal 5.xx)
My file system settings shows "clubfiles"
Under this a subfolder called "image" (not 'images')

In a story I add text and then want to add the first image.

I go to upload the first image from local PC with YUI image uploader.
Initially, the image url box shows "image Url here"
I choose the upload option - browse to my local drive, select an image and hit upload.
The image appears in the editor. There is no message saying image uploaded.

If I select that image in the editor area, the image options popup appears but the image url box shows "/clubfiles/images"
I change the view to 'plain editor'.
The html shows img style="margin etc etc" src="/clubfiles/images" align="right" - but no file name.

If I then go to add another image elsewhere, I browse, upload a different image etc but the same one shows in the editor.

I try to create a subfolder off 'clubfiles' called images but MKD operation fails with warning 'filename exists".
Can anyone assist with these problems?

Where is the subfolder "images" set?
Where does the uploaded image file get stored?
Why does the html in the editor not show the src filename?

thanks