Change how the images is stored in DB