jibe Messages: 294 Registered: February 2007 Location: France
Experienced Member
Hi,
Didier wrote on Wed, 13 April 2011 23:08
Hi Jibe,
There are two reasons why I put all images in one table:
* keeping them out of the other tables keeps from having to load them when manipulating database records and so speeds up things
* The same image can be used by more than one record.
Yes, you're right : it's often better to do this way...
Didier wrote on Wed, 13 April 2011 23:08
NB: In my code all the images are stored in jpg format in order to gain disk space but if you are trying to save images with trasnparency you have to store them in gif format
Yes, of course ! Gif or PNG
sergeynikitin wrote on Thu, 14 April 2011 08:46
EditImageTest contain example to store image in DataBase (with use EditImage control to view and add image).
Sorry, I did not see that I'll look more attentively and test : it looks very interresting