Simplify if
Add params to preview-image to show crop when defined by user dimension