Re: Store base64 data in database with imagefield ?

2012-05-16 Thread bussiere bussiere
Thanks all But there is nothing to do it from imagefield directly ? Because if someone use the admin interface ? (mayber i've misread what you gave). regards Bussiere "Les nouvelles technologies offrent pleins de nouvelles possibilités, pleins de possibilités d'erreurs surtout en fait."

Re: Store base64 data in database with imagefield ?

2012-05-15 Thread Hutch
are you sure this is actually a good idea? in almost all cases serving the image via the actual web server, whose job it is to serve images, is the best idea. either way, you wouldn't use an image field to store base64 data. that's for references to actual files in a filesystem. first you'd

Re: Store base64 data in database with imagefield ?

2012-05-15 Thread Frank Stüss
Hi, maybe you could use http://djangosnippets.org/snippets/1669/ Greetings Am Dienstag, den 15.05.2012, 17:36 +0530 schrieb Nikhil Verma: > Hi > > I had similar situation where a textfield (which was made a markup > editor by applying css and all) was given where people come in write >

Re: Store base64 data in database with imagefield ?

2012-05-15 Thread Nikhil Verma
Hi I had similar situation where a textfield (which was made a markup editor by applying css and all) was given where people come in write anything and discuss about their topics; you can imagine like a forum. So i made some regular expressions to allow videos to show in an iframe and image to

Store base64 data in database with imagefield ?

2012-05-15 Thread bussiere bussiere
Does anyone tried to store only Base64 info in databse of an image instead of a file with django image field ? Do you have any idea how to do it ? Or some hints to give me ? regards and thanks Bussiere "Les nouvelles technologies offrent pleins de nouvelles possibilités, pleins de