WordPress 24-Hour Trainer by George Plumley

WordPress 24-Hour Trainer by George Plumley

Author:George Plumley
Language: eng
Format: epub, pdf
ISBN: 9781118996393
Publisher: Wiley
Published: 2015-03-30T00:00:00+00:00


Admin Settings for Media

You can change some site-wide media file parameters under the Settings Media link on the admin menu. The screen for that page is shown in Figure 19.9.

Figure 19.9

The Image Sizes settings control the dimensions that WordPress uses when it creates as many as three different versions of images you're uploading: Thumbnail, Medium, and Large. These additional versions are created only if the longest side of the uploaded file is larger than the maximum dimensions set on this page.

For example, if the maximum width or height for Medium is 300 pixels (the default WordPress setting) and the image uploaded is 400 pixels wide by 270 pixels high, no Large version would be created, only a Thumbnail and a Medium.

For Medium and Large versions, WordPress keeps the proportions of the original and makes the longest side whatever is set as the maximum width or height. For Thumbnails, you have a choice. With the default it is to hard crop the image, taking a 150 by 150 pixel portion from the middle of the image. If you uncheck the box, it would create a thumbnail that's 150 pixels on the longest side.

For most people, these settings are fine; though with wider content areas these days, you may bump up the Medium setting (the one most typically used when inserting images into Posts). Of course, it all depends on how much space your theme gives to the main content area.

Keep in mind that themes and plugins often create their own image sizes to be used for specific purposes. For example, an e-commerce plugin may have an image size for displaying the catalogue and another for viewing individual products. Sometimes, you may be given control over these sizes and whether they hard-crop an image. But rarely are you given control over what portion of the image is hard-cropped. For that you need a plugin, as mentioned next.

WARNING Changing any Image Size settings affects only images uploaded after the change is made. If you make the change on a new site before any images are uploaded, there's no issue, but if you've already uploaded some images, you need to regenerate the versions created by WordPress. And for that you need a plugin, as mentioned here.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.