Remove unused import
Remove size limit for preview.
Limit preview to non big images.
Merge pull request #2711 from jburel/preview-size

Preview size