I'm working in Ruby On Rails 2.3.8 and I need to use a text editor in which I could upload images.
Currently, I'm using TinyMCE, but doesn't have that feature. So, I've tried the TinyFCK, but I could not make it work (it uses PHP, so I'm not sure whether it will work or not in ruby on rails).
Does anybody know any?
Here a TinyMCE Rails version with Image Uploading.
So you've tried ckeditor? It's Javascript, not PHP. Some of the upload examples show PHP scripts to handle the browsing and uploading of images on the server but there's nothing to stop you creating these with Ruby.
You might want to have a look at TinyFCK or other plugins described and evaluated here.
Related
i want to check in Javascript whether the uploading process of my rails controller is complete. how can i do this?
my intention is to get the amount of files that has been transfered (i'm doing some byte-checking in the controller and i decide wheter to upload or to keep the file on the client side).
is that even possible? i would do the upload in js but unless you cannot check the files in js i have to upload them via rails.
please help,
kind regards
There are several ways to do this (here's one w/Nginx and jQuery) some of which include drag-and-drop support, etc.
What you want to google is something like rails jquery file upload with progress bar and choose an implementation among the many that are out there.
I need to implement async file upload in my ASP.NET mvc project.
It should use javascript only (flash and silverlight denied) and support IE7-9. I already try valums file uploader, but it do not support IE9. Please advice, need to implement this functionality urgently.
Unless you are using iframes and regular input[type=file] in a form ,you cant.
Looks like AjaxFileUpload good enough for my needs
I'm looking for multiple file upload component with alternative ways.
I need HTML5, Flash and normal upload support, depended by device.
I don't like FancyUpload, because it uses mootools and mootools is very big library.
Also I can't use jQuery, because I'm writing on Ext js and it's not good idea to use two big library like jQuery and Ext js.
I can write it myself but I don't have a time.
If everyone knows any library like this, please post link here.
Thanks!
I am a big fan of Plupload
Here is an example of all run times supported (Flash, HTML4, HTML5, etc...): http://www.plupload.com/example_all_runtimes.php
You can also include only the run times you want.
Here is an ExtJS 4 wrapper I wrote for SWFUpload: https://github.com/JarvusInnovations/Ext.ux.SWFUpload
I'm interested in having a more robust ExtJS4 upload widget though that supports HTML5 and normal form upload too. Maybe we can build one if nothing else turns up.
Does anyone know what my options are for Web-based WYSIWYG editors (the type which acts like a textarea but produces HTML) are?
I need one with support for image uploads - This would be for a basic CMS that I am developing which needs to be fairly user-friendly. I can handle the server-side upload processing, but I need an upload option to be there.
A combination of CKEditor and CKFinder may have been ideal, but CKEditor seems to have been commercialised - I'm looking for something which is free/open source.
I think that this post belongs here... It was a tossup between stackoverflow and webmasters. Sorry if I'm wrong!
I use TinyMCE and there are several upload plugins that you can use with it, including these here.
I remember some options where Ajax like(No post back world) file upload was supported,
Hidden iframe
Using flash object (Though i still have curiosity of why SWF is used ? and what advantages it offer ?)
However by looking at blogs it appears that HTML 5 is promising, i tried some small examples and it really works :)
But recently i found that gmail has new drap drop file feature implemented using the HTML 5 (No flash).
Can some one guide me how this can be achieved and what all i need to prepare ? Is there change in XMLHTTP...(Ajax object) api in HTML 5 ?
Any threads will be helpful
thanks all,
I could be wrong, but I think the only help that HTML5 gives for such an upload-pattern is that it supports the attribute 'multiple' for upload fields.
This allows you to select multiple files from the file-chooser dialog without using flash
.
The uploading itself still has to be done by JS or PHP or [yourfavorite]. A nice helper could be
http://code.google.com/p/jquery-html5-upload/
for example.