• danieduck

    (@danieduck)


    When uploading an image to the Media Library, only the thumbnail, medium, and post-thumbnail (defined by the theme) are generating; no “large” size is created. My media settings are set to:
    Thumbnail: 150 x 150 pixels
    Medium: 300 x 300 pixels
    Large: 1000 x 1000 pixels
    The image I’ve been trying to upload is 1984 x 1400 pixels.

    Error log is returning the message:
    PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in .../wp-includes/functions.php on line 3549

    I’ve got the Workality Plus 2.0.1 theme installed, using WordPress 4.5.1, no plugins are activated. I’ve read about a disabled/missing PHP GD library causing issues like this, but I checked and I have it enabled. What could be preventing the “large” size from generating?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    two things that occur to me are out of memory or out of disk space. How are you doing on each?

    Thread Starter danieduck

    (@danieduck)

    Not sure how to check memory, but I’ve got 41 GB of available disk space.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Anything in your error logs? If you have a VPS, anything in /var/log/messages?

    Thread Starter danieduck

    (@danieduck)

    Only error is the PHP notice posted above… No VPS.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Googling around, it seems that the solution may be related to the version of PHP provided by your host. If your control panel allows it, choose a newer version of PHP. If not, it seems the solution is to disable zlib compression. Here’s some ways to do that:

    https://gist.github.com/loorlab/028d9fca02e6e4f85d1a

    Thread Starter danieduck

    (@danieduck)

    I just updated PHP from 5.5 to 5.6 and no luck.

    Can’t figure out how to disable zlib compression — that link suggests the problematic line of code is in one of the plugin files, but all my plugins are disabled, so I don’t even know where to begin looking for it.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘"Large" images not generating’ is closed to new replies.