Changes between Initial Version and Version 1 of Ticket #38906, comment 14
- Timestamp:
- 05/25/2022 01:35:10 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #38906, comment 14
initial v1 3 3 Why? 4 4 1. The current theme limits the width of an image. It’s not a WordPress limitation. The `Understrap` theme sets the value of the `$content_width` variable to 640 pixels. The `Twenty Twelve` theme sets `$content_width` to be 625 pixels. You can verify it here: https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-content/themes/twentytwelve/functions.php#L29 5 2. When you upload an image, WordPress will create images no wider than the value of the`$content_width` variable. As far as I understand, this is by design and is needed not to break the layout.5 2. When you upload an image, WordPress will create thumbnails no wider than the value of the`$content_width` variable. As far as I understand, this is by design and is needed not to break the layout. 6 6 3. To overcome this limitation, you can manually increase the value of the `$content_width` variable (at your own risk) and then re-upload the images.