I am going to see if I can make this work.
Thank you, TJ --- In [email protected], J�r�me Tricand de la Goutte <[EMAIL PROTECTED]> wrote: > Hello TJ > > Svg support image definition like <?xml version="1.0" encoding="UTF-8" > standalone="no" ?> > <image width="314" height="131" x="50" y="100" > xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAACDCAIAAACSkkACAAAAB3RJTUUH0gsUEggc+PNHBAAAAAd0 > RVh0QXV0aG9yAKmuzEgAAAAMdEVYdERlc2NyaXB0aW9uABMJISMAAAAKdEVYdENvcHlyaWdodACs > > ... > I/l5XefzDm+WX9fqGa1Qmg/DEIZ1hTB014YU+E5Yax3V/dlsdn6e/nv+vsObua4V+uTDMITxD0vM > thHiPWzHAAAAAElFTkSuQmCC " /> > where the string is the base64 coded image. > > What about storing such a string in your database? So you won't have to > store you image on your webserver. But be careful about the storage > volume of your database. > > And you could also add the height and width of the image in the database... > > But I don't know how to generate such a string. Many gurus may give you > advices... :) > > Hope it helps. > > J�r�me > > Peter Kalev wrote: > > >How about a call to a file on the server that will find the right image > >based on information from the DB and redirect to it... > > > >Peter Kalev > >Senior Developer, > >SWF, LLC > > > > > >-----Original Message----- > >From: TJ [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, January 19, 2005 11:07 AM > >To: [email protected] > >Subject: [svg-developers] Embedding images from a database? > > > > > > > >Hello, > > > >Please excuse me if this is a bit off topic, or has been covered > >elsewhere. I have searched the archives but was unsuccessful. > > > >I am embedding images into svg using the image tag. The images are > >stored on a web server. For example it is typicial to see something > >like this in my svg. > ><image width="100" height="100" > >xlink:href="www.mydomain.com/myImage.gif"/> > > > >I would actually like to be able to store my images in a MySql > >database rather than in a web directory. Is there anyway to link an > >image, stored as a BLOB perhaps, in a database to my image tag. So > >for example: > ><image width="100" height="100" xlink:href="some magic query to my > >database"/> > > > >I am not too familiar with MySql. Any suggestions welcome. > > > >Thank you, > >TJ > > > > > > > > > > > >----- > >To unsubscribe send a message to: > >[EMAIL PROTECTED] > >-or- > >visit http://groups.yahoo.com/group/svg-developers and click "edit my > >membership" > >---- > >Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > >----- > >To unsubscribe send a message to: [EMAIL PROTECTED] > >-or- > >visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" > >---- > >Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > -- > J�r�me Tricand de la Goutte > > Soci�t� Logatique > 50 rue Marcel Dassault > 92100 Boulogne-Billancourt > > 01 46 21 59 59 ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

