Welcome,
I would ask two question.
First, how can i convert image into string then save to MySQL.
I have try following but without positive result. ( i think its foul of headers).
ob_start();
$thumb->show();
$out = ob_get_clean();
Second, how force to use output format ?
I want store output images in JPG format.
Please excuse my language