• Resolved Roman

    (@vladroman)


    Hello, Tajam.

    Flex Posts 1.8.1

    Why does your plugin add 400×250 image size to WordPress? Current version of Flex Posts already has ability to choose image sizes from list, so I don’t see any reason for additional hard-added image size from plugin.

    My sites use own sizes everywhere, so 400×250-crop just waste disk space and (this more important) add useless size to img-srcset. Do you really need add_image_size( ‘400×250-crop’, 400, 250, true ) in your code or this is something from earlier version?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tajam

    (@tajam)

    Hi, thanks for your feedback.
    Yes, 400×250 size is from earlier version, and we still keep it as the default size, because in some themes the layout may not displayed correctly if we remove it.

    We may add an option to disable the size in future version. For now, you can disable it with this code in your theme/child theme:

    add_action(
    	'init',
    	function() {
    		remove_image_size( '400x250-crop' );
    	}
    );
    Thread Starter Roman

    (@vladroman)

    Yeah, I prefer using “after_setup_theme” action for removing unused image sizes. This is better time in my opinion.

    But not all ppl can code. ??
    I hope, you’ll add called option for better plugin users experience.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘400×250 additional size’ is closed to new replies.