Database array and json types. Less quality for image previews