Re: WYSIWYG Image upload challenge

2009-02-19 Thread Colin Bean
On Thu, Feb 19, 2009 at 7:18 AM, phoebebright wrote: > > Where do I do the compare though as the headers are not being returned > - the file is being downloaded so I don't get to see what might be > different. (Using Firefox Firebug NET option - very helpful >

Re: WYSIWYG Image upload challenge

2009-02-19 Thread phoebebright
Where do I do the compare though as the headers are not being returned - the file is being downloaded so I don't get to see what might be different. (Using Firefox Firebug NET option - very helpful otherwise). It's the browser making the decision about how to handle the request (Isn't it?). On

Re: WYSIWYG Image upload challenge

2009-02-18 Thread Colin Bean
On Wed, Feb 18, 2009 at 10:50 AM, phoebebright wrote: > > The javascript makes a call to this view on submitting the form that > uploads the image. > > def uploadimage(request): >try: >upload_full_path = settings.CONTENT_IMAGES > >

Re: WYSIWYG Image upload challenge

2009-02-18 Thread phoebebright
That certainly looks like another option! Thanks. On Feb 18, 3:00 pm, Brandon Taylor wrote: > FWIW, I have been able to successfully integrate Django Admin > Uploadshttp://code.google.com/p/django-admin-uploads/with jQuery. I'm not > certain as to how difficult this

Re: WYSIWYG Image upload challenge

2009-02-18 Thread phoebebright
The javascript makes a call to this view on submitting the form that uploads the image. def uploadimage(request): try: upload_full_path = settings.CONTENT_IMAGES upload = request.FILES['image'] dest = open(os.path.join(upload_full_path,

Re: WYSIWYG Image upload challenge

2009-02-18 Thread Brandon Taylor
FWIW, I have been able to successfully integrate Django Admin Uploads http://code.google.com/p/django-admin-uploads/ with jQuery. I'm not certain as to how difficult this would be to port to YUI. There are a couple of JS issues that I've had to fix with this, but otherwise, it works very well.

Re: WYSIWYG Image upload challenge

2009-02-18 Thread Almost George
On Feb 18, 5:36 am, phoebebright wrote: > There is something different about the way django is handling to response to > php I think. I use the YUI Rich Editor in admin, and have no problems. I know debugging isn't as easy in IE as others, but do your best to find

Re: WYSIWYG Image upload challenge

2009-02-18 Thread phoebebright
Lee, They are using this part of the app as a CMS so need to be able to put multiple images in the text. Given the way apps such as Joomla and other CMSs work, this is a not unreasonable expectation. Got hold of a PC and solved one of the problems with filebrowser - the curse of the trailing ,

Re: WYSIWYG Image upload challenge

2009-02-18 Thread Lee Braiden
2009/2/18 phoebebright : > > I have now spend 5 solid days trying to get any WYSIWYG editor with an > image upload working in django with no success. Current status: > This must be solveable!!! > > Any suggestions very welcome at this stage. I suggest an image

WYSIWYG Image upload challenge

2009-02-18 Thread phoebebright
I have now spend 5 solid days trying to get any WYSIWYG editor with an image upload working in django with no success. Current status: YUI - works in Firefox/Mac not in IE. The image upload is happening but the response is being interpretted by IE as a download so control does not return to