diff --git a/modules/image/image.admin.inc b/modules/image/image.admin.inc index 613118ad90e9d8751ea999d8a2b94427aa39c4d3..ae910e7a913610c3ffe112a03eba9cf6ad2683cd 100644 --- a/modules/image/image.admin.inc +++ b/modules/image/image.admin.inc @@ -792,24 +792,25 @@ function theme_image_style_preview($variables) { $preview_attributes['style'] = 'width: ' . $preview_width . 'px; height: ' . $preview_height . 'px;'; // In the previews, timestamps are added to prevent caching of images. - $output = ''; - $output .= '
'; + $output = '
'; // Build the preview of the original image. + $original_url = file_create_url($original_path); $output .= '
'; - $output .= t('original') . ' (' . l(t('view actual size'), $original_path) . ')'; + $output .= t('original') . ' (' . l(t('view actual size'), $original_url) . ')'; $output .= ''; // End preview-image. $output .= '
'; // End preview-image-wrapper. // Build the preview of the image style. + $preview_url = file_create_url($preview_file) . '?cache_bypass=' . REQUEST_TIME; $output .= '
'; $output .= check_plain($style['name']) . ' (' . l(t('view actual size'), file_create_url($preview_file) . '?' . time()) . ')'; $output .= ''; // End preview-image.