Keep aspect ratio for snapshots
In case snapshot width is greater than thumbnail width set it to thumbnail size and ensure that we keep aspect ratio. Furthermore to always have correct height image data switch to full document snapshot.
Fixes: #1260 (closed)