diff --git a/core/modules/image/image.admin.inc b/core/modules/image/image.admin.inc index 8bc68b0..b736b18 100644 --- a/core/modules/image/image.admin.inc +++ b/core/modules/image/image.admin.inc @@ -142,6 +142,7 @@ function template_preprocess_image_style_preview(&$variables) { '#attributes' => array( 'width' => $variables['original']['width'], 'height' => $variables['original']['height'], + 'style' => $variables['original']['style'], ), ); @@ -155,6 +156,7 @@ function template_preprocess_image_style_preview(&$variables) { '#attributes' => array( 'width' => $variables['derivative']['width'], 'height' => $variables['derivative']['height'], + 'style' => $variables['derivative']['style'], ), );