WordPress.org

Ready to get started?Download WordPress

Ideas

Allow editing all image sizes except for full size in Media Gallery

  1. Marventus
    Member

    Hello, everybody!

    I think it would be really useful if in the Media Gallery, inside the Image Editing window, WP users would be allowed to apply image edits and crops to all sizes except the full size.
    For the moment, the only options that are available for the "Apply changes to" option are:
    All image sizes
    Thumbnail
    All sizes except thumbnail

    This fetaure could be particularly useful for themes that work with sliders.

    Thanks in advanced!

    Posted: 2 years ago #
  2. You can add the below code in theme functions to crop the images in different sizes while uploading it into media.

    <?php
    
    if ( function_exists( 'add_theme_support' ) ) {
    	add_theme_support( 'post-thumbnails' );
    
    	add_image_size( 'thumb1', 930, 350, true );
    	add_image_size( 'thumb2', 90, 90, true );				
    
    };
    ?>

    You can add as many sizes as you want like this.
    Thanks
    :)

    Posted: 2 years ago #
  3. Andy Macaulay-Brook
    Member

    12345

    Yes, Jouhara, but you have to live with the auto-crop. I think being able to manually adjust the crop separately for each image size would be great.

    Posted: 2 years ago #
  4. Marventus
    Member

    Thanks Joshuara and Andy for your thoughts.
    @Andy: Yeah, individual resizing would be terrific!
    @Joshuara: Your suggestion is good, and that's usually how I do it. However, if someone were in need to switch to a theme with different slider proportions, he/she would have to reupload all their slider images because there is no option to only resize a specific size.
    There is always the option to use different images for different sizes, but that is way more resource-intensive in every possible regard.
    I still sustain this would be a neat feature to add to WP, but I am open to other users' opinions.
    Take care!

    Posted: 2 years ago #
  5. Ihor Vorotnov
    Member

    12345

    Sounds good, an additional option to edit all sizes except original would be useful.

    As for 'switching to another theme' case you've mentioned - that new theme should have a new sizes defined in functions.php. Just use AJAX Thumbnail Rebuild plugin to rebuild your image sizes (all or just those you need). It worked fine for me when we changed slider and post-thumbnail dimensions after site redesing. I just rebuild all thumbs and everything was looking great in new desing.

    Posted: 2 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    9 Votes
  • Status

    This idea is under consideration