summaryrefslogtreecommitdiff
path: root/modules/image/image.field.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/image/image.field.inc')
-rw-r--r--modules/image/image.field.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/image/image.field.inc b/modules/image/image.field.inc
index 60c0f5ac0..23547385d 100644
--- a/modules/image/image.field.inc
+++ b/modules/image/image.field.inc
@@ -311,7 +311,7 @@ function image_field_widget_settings_form($field, $instance) {
$form['preview_image_style'] = array(
'#title' => t('Preview image style'),
'#type' => 'select',
- '#options' => image_style_options(FALSE),
+ '#options' => image_style_options(FALSE, PASS_THROUGH),
'#empty_option' => '<' . t('no preview') . '>',
'#default_value' => $settings['preview_image_style'],
'#description' => t('The preview image will be shown while editing the content.'),
@@ -495,7 +495,7 @@ function image_field_formatter_settings_form($field, $instance, $view_mode, $for
$display = $instance['display'][$view_mode];
$settings = $display['settings'];
- $image_styles = image_style_options(FALSE);
+ $image_styles = image_style_options(FALSE, PASS_THROUGH);
$element['image_style'] = array(
'#title' => t('Image style'),
'#type' => 'select',
@@ -528,7 +528,7 @@ function image_field_formatter_settings_summary($field, $instance, $view_mode) {
$summary = array();
- $image_styles = image_style_options(FALSE);
+ $image_styles = image_style_options(FALSE, PASS_THROUGH);
// Unset possible 'No defined styles' option.
unset($image_styles['']);
// Styles could be lost because of enabled/disabled modules that defines