all the images which exceed certain limit go in db