[Citadel Development] Re: update: compose with inline images

2008-10-27 Thread samjam
Sun Oct 26 2008 16:06:47 EDT from IGnatius T [EMAIL PROTECTED] 
Subject: Re: update: compose with inline images

  


TinyMCE image inserter has support for a server-based image list, which is
now generated from already-attached images, making it a simple matter to
attach an image and then use it inline.

 

Perfect!  Is that new?  I don't remember it being there before. 


So, I think I'll add an Insert button next to the Add button below
TinyMCE, the use of which indicates that the file should be in a multi-part
related wrapper around the multipart/alternative, making it available  to be
referenced from the message. Only insert'd files will be visible in the image
list. Only add'd files will be available for download.

 That sounds good.  Don't worry too much about the UI elements, since we can
change them later.  If you can get inline images working in a reliable,
portable way, it'll be a really really great addition to the system (and, as
I mentioned earlier, an addition that's really going to be essential next
year when we add Blog and Wiki views). 



Yeah, the TinyMCE image inserter was always there. We just need to declare a
javascript array called tinyMCEImageList. either with some new .js script in
the head, or by work of a template on the image picker popup.

Something like:var tinyMCEImageList = new Array(
[/path/file.jpg,file.jpg], ... );I wrote some horrid C that generates a
js to do that, but I need to make it use a template; if the image.htm popup
is already handled by the templater then it will be better to just do it
there.Sam

[Citadel Development] Citadel commit log: revision 6702

2008-10-27 Thread matt

r6702 | matt | 2008-10-27 21:10:59 -0400 (Mon, 27 Oct 2008) | 2 lines
Changed paths:
   M /trunk/citadel/docs/macintosh-readme.txt

updated instructions, noting libsieve and gettext