core: increase maximum image size for previews

#796