Issue #1444650 by damiankloip: Make documentation of theme_image_style clearer

8.0.x
Jennifer Hodgdon 2012-03-06 10:03:47 -08:00
parent 298ebefedc
commit 6464289abc
1 changed files with 3 additions and 1 deletions

View File

@ -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.