From the course: Drupal 7 Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Modifying image styles

Modifying image styles - Drupal Tutorial

From the course: Drupal 7 Essential Training

Start my 1-month free trial

Modifying image styles

One of the biggest complaints about Drupal 6 was that it had no built-in tools for image handling. Just to get an image into a node took an HTML hack and to really do it right meant installing and configuring a half-a-dozen modules. Drupal 7 attacked that problem by incorporating those half-dozen modules into its core and the results are pretty good. To get those images in now, you just add an image field to a content type as we saw earlier. This approach is less flexible than a system that would let you mix graphics and text freely, but you do get more control over your images that way, because you can apply image styles that impose consistency throughout the entire site. I'll show you how to do that by changing a node we created earlier in the course. It's this Pure Grade A olive oil one. It's a product node, and as we scroll down we see that we have the graphic here. The original graphic we had was much larger and we changed it to the medium style that comes built-in to Drupal. Now…

Contents