Created
February 9, 2015 14:30
-
-
Save krystianbuczak/52d7cc8c9d161cec36a0 to your computer and use it in GitHub Desktop.
Generate image style in Drupal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
theme('image_style', array( | |
'style_name' => 'machine_name_of_image_style', | |
'path' => $file->uri, | |
'alt' => 'Alternative name atribute', | |
'title' => 'Title atribute' | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment