When you’re uploading photos to a website, it’s important to ensure that they are displayed at the right size. Otherwise, when you upload an exceptionally large image, chances are good that it will break your site’s layout. To prevent this, you’ll want to scale these images so that they’re a consistent size, and create thumbnails for use in listing pages. Image styles are a feature that’s part of Drupal core’s Image module, and it provides these options and many more for displaying images. In this lesson we'll get an overview of the core image styles feature so that we understand how it works, which styles and effects we have to work with, and some tips for troubleshooting when your images don't display properly.
Spotlight: Image Styles
[Using Drupal - Media Management] [Spotlight: Image Styles] [with Addison Berry]
[Addison Berry] When working with images on your site, you want to make sure that your images are the right size.
If you upload a really large image, you can potentially break the layout of your site
or just simply overwhelm the content with a too-large picture.
So we want to make sure that everything's sized correctly.
Now the classic old school way of doing this would be to get some kind of photo editing software,
resize the images, and then upload them at the correct size.
But luckily Drupal core has a tool called Image Styles
that's going to help us manage this automatically.
So in this lesson, we're going to take a look at image styles.