WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Client side resizing before upload removed (6 posts)

  1. nowton
    Member
    Posted 1 year ago #

    In previous versions Alex Rabe added the option for client side resizing. Like that the images get resized to the gallery settings pixelformat, _then get uploaded. In other cases the client might attempt to upload 10 megapixel images, causing the server to run out of memory while it attempts to resize them on the server. I have seen the setting before, but now it's gone from the admin screens. Photocrati claim they haven't removed anything. Anyone else care to shed some light on this? Thanks in advance.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. DoubleSixx
    Member
    Posted 1 year ago #

    Try
    Options ->
    Images Tab

    You can specify the size. Then make sure you have Automatically resize images on upload. Checked.

    Good luck.

  3. nowton
    Member
    Posted 1 year ago #

    Yeah, that's server side resize. But I'm referring to client-side resize.

  4. DoubleSixx
    Member
    Posted 1 year ago #

    I'm truly confused as to what you're trying to do then.

    What I posted should allow any picture to be re-sized before uploading.

    When you're talking about clients. Do you mean you allow users to upload to your server ?

    Or are you setting up nggallery on other servers ?

    Are you using (I forgot the name) a nggallery public uploader ?

    You should probably elaborate on what you're trying to achieve with your site.

  5. nowton
    Member
    Posted 1 year ago #

    If I recall correctly, client-side and server-side resize were two independent settings. If you mean these independent settings have now been merged into one setting, I'm reporting this as a bug. In our installation the resizing happens intermittently. Some files get uploaded non-resized, after which the server tries to resize '8 megapixel' images, and then runs out of memory. So:

    1. client tries uploading a bunch of camera/megapixel images
    2. upload succeeds (fullsize, apparently)
    3. resize and thumbnail generation fails (out of memory errors)
    (4. client calls developer)

  6. DoubleSixx
    Member
    Posted 1 year ago #

    I don't know if they were merged.

    Trying adding the following to your

    wp-config.php

    define(’WP_MEMORY_LIMIT’, ’128’);

    I put that just below

    define('DB_COLLATE', '');

    Good luck.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic