Exporting Image Styles to Code: Making Deployment Easier

Join Drupalize.Me to watch this video

Starting at just $35/month join Drupalize.Me and gain instant access to our entire video library.

Sign in Sign up
Watching 5 of 5 in series.
See something wrong with this video? Let us know.

Exporting Image Styles to Code: Making Deployment Easier

0

It is very time consuming and error prone to repeat "click steps" among multiple sandboxes, development and production in order to get your new image styles to appear. In this video, I will show you how to write code that turns your "custom" image style into a "default" image style so that you can use source control to update all of your site environments.

I am assuming you already know how to create image styles in the administrative interface. Familiarity with basic module development is helpful, but if you follow the techniques and patterns I demonstrate, you will successfully export your image styles into a new custom module.