On Fri, 21 Dec 2007, alex bodnaru wrote: > hi friends, > > i wish to allow some users to post articles, that would be edited with > tinymce, and saved in a database field. > > to avoid dependency on external files, i'd like to embed all images in > the text to be saved, and later showed. i know that would work slower > for big images. > > any ideas/knowledge of an appropriate python module?
You might want to read about the data URI spec, as described many places including some blog post I found while a-Googlin'-away: http://bitworking.org/news/Sparklines_in_data_URIs_in_Python -- Asheesh. -- They have been at a great feast of languages, and stolen the scraps. -- William Shakespeare, "Love's Labour's Lost" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

