From 6464289abca9a32719f3dc2d095abb0312570e58 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon <yahgrp@poplarware.com> Date: Tue, 6 Mar 2012 10:03:47 -0800 Subject: [PATCH] Issue #1444650 by damiankloip: Make documentation of theme_image_style clearer --- core/modules/image/image.module | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/modules/image/image.module b/core/modules/image/image.module index e6a9bc89063a..bcccbf79def3 100644 --- a/core/modules/image/image.module +++ b/core/modules/image/image.module @@ -1047,7 +1047,9 @@ function image_effect_apply($image, $effect) { * - style_name: The name of the style to be used to alter the original image. * - uri: The path of the image file relative to the Drupal files directory. * This function does not work with images outside the files directory nor - * with remotely hosted images. + * with remotely hosted images. This should be in a format such as + * 'images/image.jpg', or using a stream wrapper such as + * 'public://images/image.jpg'. * - width: The width of the source image (if known). * - height: The height of the source image (if known). * - alt: The alternative text for text-based browsers. -- GitLab