anche a me è successo, ci ho rinunciato, uso leimmagini fuori dal database, sul filesystem direttamente con un src=...

ciao
matteo