Needs review
Project:
YUI Rich Text Editor
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2008 at 17:04 UTC
Updated:
10 Nov 2008 at 22:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
muhleder commentedI was having issues with this in the 5 version, so I altered the code in the module, sorry don't have a patch for it, but have made quite a few changes to the module to get it to behave. This is the code I'm using to force unique filenames in the yui_editor_image_upload() function.
Also a fix to make sure the directory exists as well.
Comment #2
micheBased on the code from muhleder above, I created a patch for 5.x. It renames images with a _0, etc. Nice job!