Prerequisite: Make sure ImageMagick is installed and enabled through External Services in Site Administration.
1. Create a page called "documents and media test" and add the Documents and Media portlet.
2. Click on Add -> basic document and upload a picture with exif metadata properties.
3. Verify that the picture can be previewed.
User can view the image preview.
User is stuck on the generating preview will take a few minutes screen.