• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Automatically enforce a standard image size for all post content images on uploa

Automatically enforce a standard image size for all post content images on uploa

  • Unknown's avatar
    mortezariahi · Member · Mar 5, 2026 at 2:50 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi everyone,
    I’m trying to standardize images across my WordPress posts to create consistent visual harmony.

    In Settings → Media, WordPress lets us define Thumbnail / Medium / Large, but those sizes don’t reliably solve my use case for images inserted inside post content. Authors upload images with different dimensions/aspect ratios, and when inserted into content, the results are inconsistent.

    What I want:

    • Enforce a standard “content image” size for every uploaded image used inside posts (e.g., 1200×675 or 1200×800).
    • On upload, require at least a minimum dimension (so low-res images are rejected or flagged).
    • Automatically resize and/or crop (center-crop or smart crop) so images look good and “fit” consistently.
    • Ideally ensure that when an author inserts an image into the post, it defaults to this standard size (not random original sizes).

    Right now I’m manually resizing images using free online image resizer websites,
    ximagex
    onlineimagekit

    Questions:

    1. What’s the best approach/plugin for enforcing a consistent content-image size on upload?
    2. Is this better solved with a plugin, or a small custom solution using wp_handle_upload / wp_generate_attachment_metadata filters?
    3. Any recommendations for a workflow that keeps quality high (WebP, compression) while maintaining consistent dimensions?

    Thanks in advance!

Log in or create an account to reply
Log in Create Account

Tags

  • account
  • images
  • spammer

About this topic

  • In: Support
  • 1 participant
  • 0 replies
  • Last activity 2 weeks
  • Latest reply from mortezariahi

Have a question?

Get in touch
Back to Top

Couldn't find what you needed?

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions