WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Smush.it NextGEN Gallery Integration] Please reconsider integration

[Plugin: WP Smush.it NextGEN Gallery Integration] Please reconsider integration

Viewing 5 replies - 1 through 5 (of 5 total)
  • Is there anyone working on re-smush, bulk smush features in WP Smush.it NextGEN Gallery Integration.

    Simon
    Member

    @simonwe

    someone?
    It doesn’t seem very popular 🙁

    ngoodfellow
    Member

    @ngoodfellow

    Easy work-around to re-smush images:

    Change the path to a new folder and SAVE GALLERY
    Delete All Images
    Change path back to original path and SAVE GALLERY
    Scan Folder For New Images

    Images are re-added and compressed
    You do loose the data associated with them for ALT and Title

    godhunter
    Member

    @godhunter

    I’m working since now on re-smush, bulk smush features in WP Smush.it NextGen Gallery integration.

    This is my first work with wordpress so it’s very hard for me.

    I changed some line on existing code in order to add link to resmush

    /* ngg_manage_image_custom_column hook */
      function manage_image_custom_column( $column_name, $id ) {
        self::check_support();
            if( $column_name == 'smushit' ) {
          $meta = new nggMeta( $id );
          $status = $meta->get_META( '_wp_smushit' );
          $linkofpicture =  $meta->image->imageURL;
    
          if ( !$status || empty( $status ) ) {
            echo 'Not processed <a href="?filetoresize='.$linkofpicture.'">Smush-it</a>';
            // TODO: allow manual re-smushing
          } else {
            echo $status.' <a href="?filetoresize='. $linkofpicture.'">ReSmush-it</a>';
          }
        }
      }

    I need a lot of time to do that, and certainly some help.
    I will inform you about my work

    godhunter
    Member

    @godhunter

    I found 2 class in php to do this work, but i stop my development because i found a better solution http://wordpress.org/extend/plugins/ewww-image-optimizer/ fully compatible with nggallery, updated frequently

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Smush.it NextGEN Gallery Integration] Please reconsider integration’ is closed to new replies.