#4006: Put defaults for image preview to code.
Merge pull request #4009 from openscholar/4006-image_preview_defaults

Put defaults for image preview to code.