Hi All Im using Blake''s tinyMCE plugin. I want to add image upload functionality or at least image browse - the standard tinyMCE image pop-up doesn''t really provide for a great user experience. What is the best route to follow. Are there any rails friendly plugins to allow for a image browser and uploader through tiny? Regards Ivor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Aug 8, 2007, at 6:40 AM, Ivor Paul wrote:> What is the best route to follow. Are there any rails friendly > plugins to allow for a image browser and uploader through tiny?There''s the attachment_fu plug-in from... http://technoweenie.stikipad.com/plugins/ I haven''t ported my projects to using it yet and instead have been using acts_as_attachment (available from the same developer) which is the older plug-in. It''s been very good, so I expect attachment_fu will only be better. Jose ....................................................... Jose Hales-Garcia UCLA Department of Statistics jose-oNoWckAxTcaFhjwBz98joA@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
The port to attachment fu is easy - just take the plunge. however, attachment_fu isn''t going to help with tinyMCE? or does it? has anyone done this before. if not, are there any other solutions that work specifically with TinyMCE regards On 8/8/07, Jose Hales-Garcia <jose-oNoWckAxTcaFhjwBz98joA@public.gmane.org> wrote:> > > On Aug 8, 2007, at 6:40 AM, Ivor Paul wrote: > > What is the best route to follow. Are there any rails friendly plugins to > allow for a image browser and uploader through tiny? > > > There''s the attachment_fu plug-in from... > > http://technoweenie.stikipad.com/plugins/ > > I haven''t ported my projects to using it yet and instead have been using > acts_as_attachment (available from the same developer) which is the older > plug-in. It''s been very good, so I expect attachment_fu will only be better. > > Jose > > ....................................................... > Jose Hales-Garcia > UCLA Department of Statistics > jose-oNoWckAxTcaFhjwBz98joA@public.gmane.org > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 08 Aug 2007, at 15:56, Jose Hales-Garcia wrote:> What is the best route to follow. Are there any rails friendly > plugins to allow for a image browser and uploader through tiny? > There''s the attachment_fu plug-in from... > > http://technoweenie.stikipad.com/plugins/ > > I haven''t ported my projects to using it yet and instead have been > using acts_as_attachment (available from the same developer) which > is the older plug-in. It''s been very good, so I expect > attachment_fu will only be better.Attachment_fu is indeed a much improved version of acts_as_attachment, both in terms of functionality and plugin code. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 08 Aug 2007, at 15:59, Ivor Paul wrote:> The port to attachment fu is easy - just take the plunge. > > however, attachment_fu isn''t going to help with tinyMCE? or does > it? has anyone done this before. if not, are there any other > solutions that work specifically with TinyMCEThe only way you''ll get tight integration, is by modifying tinyMCE to use Rails as a backend instead of the php script it now uses (or split out tinyMCE related stuff to a different subdomain that is run through the php interpreter, but I don''t like that solution too much). Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ah, that''s what I wanted to hear. Have you changed tiny to work with Rails as backend? What would the approach be to do this? Would you use the "insertimage_callback" option and to what would you point that. Just looking for a bit more direction with this, but it sounds like the approach I would like to take. thanks for the help ivor On 8/8/07, Peter De Berdt <peter.de.berdt-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org> wrote:> > > On 08 Aug 2007, at 15:59, Ivor Paul wrote: > > The port to attachment fu is easy - just take the plunge. > > however, attachment_fu isn''t going to help with tinyMCE? or does it? has > anyone done this before. if not, are there any other solutions that work > specifically with TinyMCE > > > The only way you''ll get tight integration, is by modifying tinyMCE to use > Rails as a backend instead of the php script it now uses (or split out > tinyMCE related stuff to a different subdomain that is run through the php > interpreter, but I don''t like that solution too much). > > > Best regards > > > Peter De Berdt > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 09 Aug 2007, at 11:37, Ivor Paul wrote:> Ah, that''s what I wanted to hear. Have you changed tiny to work > with Rails as backend? What would the approach be to do this? > > Would you use the "insertimage_callback" option and to what would > you point that. Just looking for a bit more direction with this, > but it sounds like the approach I would like to take.Sorry, no I didn''t, because I''m not such a big fan of the HTML WYSIWYG editors spit out (or whatever you want to call the junk it spits out). Take out a few hours and experiment, it can''t be too hard. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Cool, thanks. I dont like them either, but the clients...oy vey :) On 8/9/07, Peter De Berdt <peter.de.berdt-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org> wrote:> > > On 09 Aug 2007, at 11:37, Ivor Paul wrote: > > Ah, that''s what I wanted to hear. Have you changed tiny to work with Rails > as backend? What would the approach be to do this? > > Would you use the "insertimage_callback" option and to what would you > point that. Just looking for a bit more direction with this, but it sounds > like the approach I would like to take. > > > Sorry, no I didn''t, because I''m not such a big fan of the HTML WYSIWYG > editors spit out (or whatever you want to call the junk it spits out). Take > out a few hours and experiment, it can''t be too hard. > > > Best regards > > > Peter De Berdt > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 8/8/07, Peter De Berdt <peter.de.berdt-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org> wrote:> The only way you''ll get tight integration, is by modifying tinyMCE to use > Rails as a backend instead of the php script it now usesSorry, slightly OT, but what does PHP have to do with tinyMCE? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Peter De Berdt wrote:> On 09 Aug 2007, at 11:37, Ivor Paul wrote: > >> Ah, that''s what I wanted to hear. Have you changed tiny to work >> with Rails as backend? What would the approach be to do this? >> >> Would you use the "insertimage_callback" option and to what would >> you point that. Just looking for a bit more direction with this, >> but it sounds like the approach I would like to take. > > Sorry, no I didn''t, because I''m not such a big fan of the HTML > WYSIWYG editors spit out (or whatever you want to call the junk it > spits out). Take out a few hours and experiment, it can''t be too hard. > > > Best regards > > Peter De BerdtI also hate WYSIWYG editors, but i open an exception to tinyMCE because it makes stuff XHTML 1.1 compliant and doesn`t throws styles and spans for every goddamn change you make. Usually it writes down html exactly the way i would have. It also allows you to specificy a css source, so it loads and previews your styles in real time. Give it a try if you haven`t, i wasn`t disappointed with it! And there is a lot of tutorials on how to do file upload using tinyMCE with PHP, which is probably why people were refering to it... I am also trying to get file upload working and file browsing, and will write some feedback when i get those working. -- Posted via http://www.ruby-forum.com/.
On 31 Aug 2009, at 02:40, Stefano Benatti wrote:>> Sorry, no I didn''t, because I''m not such a big fan of the HTML >> WYSIWYG editors spit out (or whatever you want to call the junk it >> spits out). Take out a few hours and experiment, it can''t be too >> hard. > > I also hate WYSIWYG editors, but i open an exception to tinyMCE > because > it makes stuff XHTML 1.1 compliant and doesn`t throws styles and spans > for every goddamn change you make. Usually it writes down html exactly > the way i would have. It also allows you to specificy a css source, so > it loads and previews your styles in real time. Give it a try if you > haven`t, i wasn`t disappointed with it!I tried it not too long ago and still don''t like the way it works or some of the code it produces. But my gripes mostly have to do with the way tinymce was written and how bloated it is in a way. However, if I would have to choose between TinyMCE or FCKEditor, I would still prefer TinyMCE. However, I found out about CKEditor a couple of weeks ago (http://ckeditor.com/demo), which is a totally rewritten FCKEditor and seems to tackle all the problems I have with the previously mentioned libraries.> And there is a lot of tutorials on how to do file upload using tinyMCE > with PHP, which is probably why people were refering to it... > > I am also trying to get file upload working and file browsing, and > will > write some feedback when i get those working.Converting PHP code to Ruby/Rails code shouldn''t be all too hard if the API is written in a consistent way and (that''s quite a while back though) TinyMCE was really flawed there when I tried to get it working properly. Good luck though, great to see people trying to get Rails and TinyMCE working together. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---