fixes #3615 - restrict display image size to 800x800 to prevent OOM

Restrict display image size to 800x800 to prevent OOM on tablet devices.
So far only used to create the log image preview.