LoginLogin About

Support » Knowledge Base » Photos »

Thumbnail creation errors

During creation of image thumbnails the following errors may occur:

  • Upon an attempt to upload an image file to WebAsyst Photos error message of the kind "Error creating thumbnail (memory_limit=...)" may appear in your account.
  • After a photo has been uploaded to the server, its thumbnails either appear blank or look distorted.
As a rule, such failures are caused by the lack of sufficient amount of server memory, required for processing of large files, namely generation of your photo thumbnails.

As a a rule, this problem may occur if the GD extension is used for graphics processing.

WebAsyst Photos supports image manipulation using PHP extensions GD and Imagick. In WebAsyst Photos "Settings" you can select which extension should be used by the application (read about which of the extensions is better).

Test reveal that GD takes up more server memory when processing large images. So, for instance, with the memory_limit being set to 64 MB in PHP configuration the GD extension successfully generates thumbnails and applies the sharpening filter to photos of size under 6 Mpx (3008*2000 pixels). For 10 Mpx large photos this amount of memory is not sufficient.
If you have an even more strict memory limitation on your server (e.g., 32 МB), then most probably you would need to manually reduce the size of your photos before uploading them to WebAsyst Photos.
The Imagick extension requires less server memory, for example, with the 64 МB memory limit 10 Mpx large photos were processed with the memory limitation exceeded.

Two ways to solve (or circumvent) the problem:

  1. If the server supports Imagick, switch to the Imagick option in WebAsyst Photos section "Settings".
  2. Before uploading photos to WebAsyst Photos manually reduce their size using locally installed software.