O'Reilly logo

Drupal 7 Development by Example Beginner's Guide by Kurt Madel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Custom image styles and inline Media for WYSIWYG

As mentioned previously, the Media module offers a number of compelling features out of the box. This enables you to do more with less, and it does a lot more by itself than many of the image integration solutions for Drupal 6, and even the core image module with Drupal 7. One of those features is to allow the insertion of images into a WYSIWYG-enabled text area.

Creating a custom image style

Before we configure inline Media for the WYSIWYG module, we are going to create a custom image style to use when we add an inline image to a WYSIWYG text area. Image styles for Drupal 7, part of the core Image module, is a replacement for the Drupal 6 contrib Image Cache, Image Field, and Image modules. In my ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required