use php to encode them in base64, then store them in sql database.
This example will get all the images from the path you specify.
Code
foreach(glob('./pathtoimages/*.jpg') as $filename){
$imageData = file_get_contents($filename);
$encodedImage = base64_encode($imageData);
//store encodedImage in sql database as BLOB
}
This post was edited by labatymo on Apr 5 2013 11:42am