Re: Database with Images?

new topic     » goto parent     » topic index » view thread      » older message » newer message

What I would do is create a separate table for the images. First, run an md5 hash on the image. This will be the image key. Then, run Blowfish encryption on the image data and store that in the database with the key. Now, when you create the records, you can reference the hash key in the record instead of the whole image. This will keep the records smaller (which will load faster) and avoid duplication of data. You could even go so far as to make a simple browser utility to enumerate the image keys, decrypt the data, then display the image with the key.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu