• Resolved andvsb

    (@andvsb)


    Hi,
    i want to crop images and then find them in media library grid view to use them as post thumbnail.
    The cropped images will be used on different posts as featured image.
    Thanks

    • This topic was modified 4 years, 5 months ago by andvsb.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author joppuyo

    (@joppuyo)

    Hey,

    The plugin doesn’t have this feature right now. I think most users will find it confusing if there are multiple cropped versions of the same image in the gallery, they could accidentally make a crop out of crop for example.

    The default WordPress image gallery also shows square images which makes it hard to pick the correct aspect ratio image. The only way this would be less confusing would be if the original images are not saved.

    But this comes at the downside of having to track down the original image from your hard drive each time you want to make a different crop and you couldn’t make use of the re-crop functionality in the plugin.

    I’m not really sure if there would be a way to create this functionality without making it really confusing to the user.

    Thread Starter andvsb

    (@andvsb)

    Thanks for your reply.
    I ended up removing the function “Hide cropped images in media library grid view” in your plugin and it works fine now.

    You can do the following to achieve this.
    Only thing is you can’t press “Cancel” in the plugin to cancel the cropp if you already selected a cropped version. Need a workaround for this.

    add_filter('ajax_query_attachments_args', function ($args) {
    	if (empty($args['post__in'])) {
    		unset($args['meta_query']);
    	}
    	return $args;
    });
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cropped Images not showing in grid media library’ is closed to new replies.