Fixed images in sql